1? 允許ssh的網(wǎng)絡(luò)連接 vi /etc/inetd.conf
刪除ssh前面的# 來enable
so do
sshd已經(jīng)開啟
使用ee編輯器編輯/etc/inetd.conf敛熬,去掉ssh前的#耳舅,按ctrl+c,再輸入exit保存退出
編輯/etc/rc.conf算凿,添加一行sshd_enable="YES"
編輯/etc/ssh/sshd_config念恍,將
#PermitRootLogin no改為PermitRootLogin yes//允許root登陸
#PasswordAuthentication no改為PasswordAuthenticationyes//使用系統(tǒng)PAM認(rèn)證
#PermitEmptyPasswords no改為PermitEmptyPasswords no//不允許空密碼
重啟SSHD服務(wù),/etc/rc.d/sshd restart
用另一個(gè)虛擬機(jī)ssh進(jìn)入freebsd成功
?putty始終報(bào)錯(cuò)