minimal installtion has installed ssh.
We must config it befort use it.
key words
1. ee /etc/ssh/sshd_config
add these rows:
PermitRootLogin yes #允许root登录
PermitEmptyPasswords no #不允许空密码登录
PasswordAuthentication yes # 设置是否使用口令验证。
2.ee /etc/inetd.conf 去掉ssh前的#(两个),保存退出 (开启****ssh服务)
--------refer to FreeBSD releaning (three)-inted
3.ee /etc/rc.conf
最后加入:sshd_enable="yes"即可
激活sshd服务:
#/etc/rc.d/sshd start optional:/etc/rc.d/sshd reload /etc/rc.d/sshd restart
#netstat -an
port 端口已经在Listen
下载putty,进行ssh 登陆。
#ee /var/log/auth.log 记录登陆用户的信息