美文网首页
Google Cloud Platform用SSH工具连接

Google Cloud Platform用SSH工具连接

作者: e5044bbea31c | 来源:发表于2018-12-09 16:15 被阅读0次

#修改当前修改用户密码
$ sudo passwd username

#修改root用户密码
$ sudo passwd root

#修改SSH配置文件

$ sudo vi /etc/ssh/sshd_config

PermitRootLogin yes
PasswordAuthentication yes

:wq!

完成,已经可以用第三方工具连接GCP的ssh了

相关文章

网友评论

      本文标题:Google Cloud Platform用SSH工具连接

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