im trying to log into my server using putty and win scp with no joy. i have tried myip.dyndns.org and also my ip address with ports 2222 and 1111 already forwarding to my server but they fail to connect? when i enter my dns url or ip it takes me to my router log in. what am i doing wrong?
remote server access?
- blacksx
- Thread is marked as Resolved.
-
-
Have you changed the ssh port on the server, there is no point forwarding these if you do not change the ports from default.
-
dont mean to sound dense mate but where do i find them?
-
How To Change Default SSH Port 22:
By default, SSH listens for connections on port 22. Attackers use port scanner software to see whether hosts are running an SSH service. It’s wise to change the SSH port to a number higher than 1024 because most port scanners by default don’t scan high ports.
Edit file: sshd_config
Change port on below line in sshd_config file:
“#Port 22″ should be changed to “Port 4765 ”
You should not permit root logins via SSH, because this is a big and unnecessary security risk. If an attacker gains root login for your system, he can do more damage than if he gains normal user login. Configure SSH server so that root user is not allowed to log in. Find the line that says:
“PermitRootLogin yes” should be changed to “PermitRootLogin no”
You can then log in with any other defined user and switch to user root if you want to become a superuser.Once all the changes done, restart the ssh services:
Above provided steps will change default ssh port 22 to other port like 4765.
How To Change Default FTP Port 21:
On a Linux or Unix server, you can easily change the FTP server port in both ProFTPD and Vsftpd.
To change the ProFTPD port, find the configuration file (/etc/proftpd.conf and edit the following line:
Change “Port 21″ to whatever port you want. Just make sure that nothing else is using the port you choose.
For Vsftpd, you need to edit the file found at /etc/vsftpd/vsftpd.conf and find the line:
Change the port number to the port number of your choice, as long as it is not in use.
After editing the configuration file of your FTP server, you will need to restart the service.
For ProFTPD:
For Vsftpd:
Whenever you start or stop using a port on your server, you must apply those changes to your firewall as well. If you will no longer be using port 21, close it in your firewall, and to use a new port, you should open it in your firewall to allow access. Please also be aware that most FTP clients will expect port 21, so you will need to manually change the port in your FTP client to work with the server.
-
Here is an alternative way & im sure installing this will serve you well for other server issues in the future.
[h=3]Installing Webmin On Your Debian Server[/h]
This allows you to manage your server in every way you would ever need to, once installed go to Servers/SSH Server/Networking From there you can easily change the port as shown. -
Ok got Webmin installed now can someone point me in thee direction of how I set up remote login?
-
In webmin click Servers, ProFTPD Server & SSH Server will appear, then Edit Config Files..
-
One other thing, how do I change webmins default port 10000?
-
One other thing, how do I change webmins default port 10000?
From the main menu webmin/webmin configuration/ports
-
hello friend OSCAM'm installing on debian 6 and when I try to OSCAM isntala the error connection closed by the other end should I do to install properly grateful! I'm from Brazil and do not speak english little ..
-
thanks for the advice guys i now have remote ssh set up!
how do i now remotely access oscam and cccam via browswer?
-
into browser you need to type the ip or dns of the server followed by the port number which web interface is set to ¬
for example default CCcam web info is 16001 -
SO -
http://blacksx.dyndns.org:16001Hope that helps -
There usually is password protection _ often defaults are
user=root
pass=dreamboxAll will be in your CCcam.cfg and Oscam configuration
-
I take it I will also have to port forward the respective port I.e 16001
-
ok can someone tell me in oscam the line httpallowed = 192.168.0.0 - 255.255.255.255 only allows local access, how do i make it allow external ip access?
-
httpallowed = 0.0.0.0-255.255.255.255
-
I take it I will also have to port forward the respective port I.e 16001
don't use common or default ports - either change them in the configs, or choose in your router a different external port to the internal ports to forward to
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!