在VirtualBox下安装了Ubuntu14.0来玩,惋惜Ubuntu下的Linux模式下不给力,因而打算用SSH连接工具来玩:ssh
使用 apt-get install openssh-server 安装了远程SSH服务
工具
修改 /etc/ssh/ssh_config 文件,把 “Port 22” 与 “Protocol 2,1”前面的 “#”删掉spa
想要使用 root 帐号登录的朋友还须要修改 /etc/ssh/sshd_config 文件,注意是 /etc/ssh/ssh_config 文件rest
在 PermitRootLogin without-password 加上 “#”注释,从新加上 PermitRootLogin yesserver
重启SSH: service ssh restart
get