On Mar 9, 2004, at 2:01 PM, 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? I have a firewall installed on
the box and using NAT with ipfw.
If you just want to plain move the SSHD's listening port, there's a "port" directive in /etc/ssh/sshd_config (default is a commented Port 22) that you can change what port it listens to. Altering that and restarting the sshd process should have it listen to the new port.
-Bart
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"