美文网首页
google cloud ssh 连接问题

google cloud ssh 连接问题

作者: jijiwuming | 来源:发表于2018-10-04 22:06 被阅读0次

背景

这几天真是被服务器的配置逼疯了,切换于各个运营商之间瞎配,头都疼了......更坑爹的是发现google cloud 的虚拟主机默认不开放远程连接,好在找到这篇博客

解决方法

那篇博客里都写了,就抄一下吧

  • 编辑ssh配置文件
vi /etc/ssh/sshd_config
  • 修改对应项为以下内容
PermitRootLogin yes
PasswordAuthentication yes
  • 重启ssh
service sshd restart

相关文章

网友评论

      本文标题:google cloud ssh 连接问题

      本文链接:https://www.haomeiwen.com/subject/vtlfaftx.html