At 9:01 AM -1000 3/9/04, Jason Halbert wrote:
Hello All:

I need some help moving SSH off of port 22, preferably onto
port 23 and disabling telnet.  Can I do this just by changing
something in /etc/services or by means of a firewall?

You change the configuration for sshd in /etc/ssh/sshd_config, un-commenting and changing the line that says '#Port 22'. You will probably find that you also want to change ~/.ssh/config files (on other hosts) to add an entry for the host where you are running sshd on port 23.

You should not change /etc/services for this.

--
Garance Alistair Drosehn            =   [EMAIL PROTECTED]
Senior Systems Programmer           or  [EMAIL PROTECTED]
Rensselaer Polytechnic Institute    or  [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to