CentOS开启ssh远程登录
CentOS开启ssh远程登录
·
修改sshd配置文件
vim /etc/ssh/sshd_config
把以下的配置前面的#去掉 然后修改如下
PermitRootLogin yes
PasswordAuthentication yes
解决Linux之间使用ssh连接慢的问题,修改配置项GSSAPIAuthentication:
GSSAPIAuthentication no
重启sshd服务
sudo service sshd start
至此通过winscp工具则能连接上主机。
更多推荐
已为社区贡献6条内容
所有评论(0)