WinSCP 连接 Ubuntu 拒绝的问题

1.打开配置文件

$ sudo vi /etc/ssh/sshd_config 

2.修改操作

 PermitRootLogin without-password  修改为 PermitRootLogin yes

3.重启shh服务或重启计算机

$ service sshd restart

 

posted @ 2015-07-01 17:35  b̶i̶n̶g̶.̶  阅读(1565)  评论(0编辑  收藏  举报