美文网首页
Google Cloud Platform 使用远程SSH登录设

Google Cloud Platform 使用远程SSH登录设

作者: 大尾巴狠 | 来源:发表于2018-09-27 17:17 被阅读0次

Google Cloud Platform自带的SSH使用起来还是有些不习惯,那么我们就做一些调整,方便使用工具。

1、用自带的SSH登录服务器,并且切换到root

sudo -i

2、编辑SSH配置文件

vi /etc/ssh/sshd_config

3、找到下边两项并且进行修改

PermitRootLogin yes

PasswordAuthentication yes

修改好了就保存退出

4、重启SSH服务

service sshd restart

5、修改root密码

passwd

现在就可以用自己习惯的SSH工具了。

相关文章

网友评论

      本文标题:Google Cloud Platform 使用远程SSH登录设

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