ubuntu 10.4版本 ssh登陸不上看進來( 親試可以 )
ssh 登陸不上問題解決
(1)查看ip地址是否沖突
我在單位的虛擬機ip地址是192.168.14.85,與其它機器沖突了。改成了192.168.14.83
(2)關(guān)閉Ubuntu14.04的防火墻
root@stgman-desktop:~# sudo ufw disable????? #顯示 防火墻在系統(tǒng)啟動時自動禁用
(3)Ubuntu系統(tǒng)上安裝、啟動sshd服務
sudo apt-get install openssh-server
sudo /etc/init.d/ssh restart ?
(4)ssh還不能登錄上,就修改sshd的默認配置
ssh出現(xiàn)permission denied (publickey)問題:
修改/etc/ssh/sshd-config文件.
PubkeyAuthentication yes修改為no
AuthorizedKeysFile .ssh/authorized_keys前面加上#屏蔽掉,
( 5 ) 重新啟動
原文 :http://blog.sina.com.cn/s/blog_5f435c130102v6pv.html
2016-04-27
贊一個!
2016-01-25
thank you