18 марта 2011 г.

change ssh port freebsd

It's a very good idea to change the default SSH port on working ("production") system. Especially if you enabled root login.

In order to do this, open the /etc/ssh/sshd_config file for editing and uncomment and change the Port directive:
Port 12345

Then restart sshd:
/etc/rc.d/sshd restart


Комментариев нет: