Home  >  Article  >  Backend Development  >  FreeBSD9.0 enables SSH remote login

FreeBSD9.0 enables SSH remote login

WBOY
WBOYOriginal
2016-08-08 09:29:53908browse

FreeBSD9.0 enables SSH remote login

小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.


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn