View Single Post
  #9   (View Single Post)  
Old 21st September 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Just to point you in the right direction .... by default, sshd will listen on port 22. You will want to change this. You can set the value of sshd_flags in /etc/rc.conf.local if you wish, but best practice would be to edit /etc/ssh/sshd_config and add a custom ListenAddress, along with other customizations you might make (such as disallowing root login, which is enabled at installation time only to make post-install provisioning easier remotely).

Here are some of my own changes to sshd_config in one of my servers:
Code:
PermitRootLogin no
PasswordAuthentication no
ClientAliveInterval 15
ClientAliveCountMax 3
X11Forwarding yes
AddressFamily inet
KbdInteractiveAuthentication yes

Last edited by jggimi; 21st September 2010 at 12:51 PM.
Reply With Quote