快速为GoogleCloud开启root登陆并配置防火墙 开启root登陆: 我们在创建实例的时候,有一个选项为自动化启动脚本,如图所示: 里面填入以下内容即可: #!/bin/bash root:密码 |sudo chpasswd root sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config; sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthen...
最近更新文章
-
CeotOS6提示 libssl.so.10: cannot open shared object file: No such file or directory解决办法
更新时间: 3 天前
-
商业版 / 破解版 Xshell 5 & Xftp 5 下载
更新时间: 7 天前
-
Centos7下rpm升级OpenSSH到openssh-9.4p1版本
更新时间: 9 天前
-
更新时间: 9 天前
-
Centos7下rpm升级OpenSSH到openssh-9.3p1版本
更新时间: 9 天前