GoogleCloud实现密码登录

· back's秘密花园


1sudo -i
2password

修改完root密码之后

1sudo sed -i 's/^#\?PermitRootLogin.*/ PermitRootLogin yes/g' /etc/ssh/sshd_config;
2sudo sed -i 's/^#\?PasswordAuthentication.*/ PasswordAuthentication yes/g' /etc/ssh/sshd_config;
3sudo service sshd restart
last updated:

风筝在阴天搁浅🪁

想念还在等待救援

我拉着线

复习妳给的温柔