小wolf@http://blog.csdn.net/xiaolangyangyang
1. Select SSH during installation, or install SSH from source code
2. Log in using root System
3. Use ee editor to edit /etc/inetd.conf and remove the # before ssh 4. Edit /etc/rc.conf and add a line sshd_enable="YES"
5. Edit /etc/ssh/sshd_config, Change
#PermitRootLogin no to PermitRootLogin yes use using system PAM authentication ‐ ‐ ‐ ‐ ‐ ‐‐‐‐‐
#PermitEmptyPasswords s no//Empty passwords are not allowed
Save and exit 6. Start the SSHD service, /etc/rc.d/sshd start 7. Check whether the service is started, netstat -an, if you see that port 22 is listening, congratulations! ! !
8. Prepare your account and ssh client to log in
The above introduces how to enable SSH remote login in FreeBSD9.0, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.