how do i change the sshd default port from 22 - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html) +--- Forum: Remote Access (https://www.linux-noob.com/forums/forum-88.html) +--- Thread: how do i change the sshd default port from 22 (/thread-3468.html) |
how do i change the sshd default port from 22 - anyweb - 2004-04-15 to change the sshd default listening port from 22 to say 6666 do as follows: Code: vi /etc/ssh/sshd_config save the file and restart sshd now, to connect via ssh to your new listening port do as follows: Code: ssh www.somedomain.com -p6666 cheers anyweb how do i change the sshd default port from 22 - TormentoR - 2004-04-15 Maybe it's an idea to make a SSHd tips & tricks in general... instead of all these little settings in a separate tips and tricks post?! how do i change the sshd default port from 22 - anyweb - 2004-09-01 done ! |