mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-11-27 23:56:07 +03:00
Updated 谷歌云开启root账户与密码登录 (markdown)
parent
c750443350
commit
aae346e8e2
@ -3,7 +3,7 @@
|
|||||||
![](https://github.com/proxysu/Resources/raw/master/image/googlevpsroot1.png)
|
![](https://github.com/proxysu/Resources/raw/master/image/googlevpsroot1.png)
|
||||||
如下图所示,选择红线标示的项,中文界面,选择对应位置。
|
如下图所示,选择红线标示的项,中文界面,选择对应位置。
|
||||||
![](https://github.com/proxysu/Resources/raw/master/image/googlevpsroot2.png)
|
![](https://github.com/proxysu/Resources/raw/master/image/googlevpsroot2.png)
|
||||||
在打开的网页版ssh登录界面,依次输入以下命令:
|
在打开的网页版ssh登录界面,依次输入以下命令(复制以下命令,然后Ctrl+v 粘贴):
|
||||||
|
|
||||||
`sudo sed -i 's/PermitRootLogin /#PermitRootLogin /g' /etc/ssh/sshd_config`
|
`sudo sed -i 's/PermitRootLogin /#PermitRootLogin /g' /etc/ssh/sshd_config`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user