日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

FreeBSD 5.4 安裝后無(wú)法用SecureCRT連接

前提:
1、sshd已經(jīng)啟動(dòng) //可以用/etc/rc.d/sshd restart 來(lái)嘗試是否可以重啟服務(wù)
2、端口處于LISTEN狀態(tài)
3、遠(yuǎn)程使用telnet Host_IP_Address 22 有回顯 //SSH-2.0-OpenSSH_3.8.1p1 FreeBSD-20040419
使用SecureCRT連接時(shí)提示:unable to authenticate using any of the configured authentication methods
【FreeBSD 5.4 安裝后無(wú)法用SecureCRT連接】這時(shí)需要修改sshd_config配置文件
ee /etc/ssh/sshd_config
找到
# Change to yes to enable built-in passWord authentication.
#PasswordAuthentication no //去掉前面'#'符號(hào)
改成
PasswordAuthentication yes添加
PermitRootLogin yes //為了可以使用root直接登錄,從安全上不建議這么使用 。建議創(chuàng)建一個(gè)用戶添加到wheel組中,使用su登錄 。保存、重啟sshd 。inetd[387]: ssh/tcp: bind: Address already in use.
檢查是否在/etc/inetd.conf 中打開了
ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4
改成
#ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4
保存、重啟 。/etc/inetd restart

    推薦閱讀