您的位置:首页 > 其它

Ubuntu安装sshd

2015-06-12 01:10 281 查看
#安装
sudo apt-get install openssh-server
#如果提示client依赖,可根据提示的依赖版本执行,然后再执行上述语句
sudo apt-get install openssh-clent=1:6.6p1-2ubuntu1

#xshell或putty连接不上则需要进行如下配置
vim /etc/ssh/sshd_config
#修改 PermitRootLogin without-password 为
PermitRootLogin yes
#重启ssh
initctl --system restart ssh
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: