首页 > 编程知识 正文

谷歌云 ssh,chrome ssh

时间:2023-05-06 16:24:37 阅读:270824 作者:1015

谷歌云创建VM实例之后是不能够使用shell工具登录的,必须开启shell登录才能够登录
修改方式

//切换到root角色sudo -i//修改配置文件vi /etc/ssh/sshd_config#LoginGraceTime 2mPermitRootLogin yes# To disable tunneled clear text passwords, change to no here!PasswordAuthentication yes

修改成功之后保存 :wq
重启服务器
就可以使用ssh工具登录root账户

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。