//密钥登录
ssh -i Desktop/xxx/阿里云服务器秘钥/xxx.pem root@xx.xx.xx.xxx
//密码登录 修改 PasswordAuthentication yes
vim /etc/ssh/sshd_config
//使sshd_config 修改生效
service sshd reload
//密钥登录
ssh -i Desktop/xxx/阿里云服务器秘钥/xxx.pem root@xx.xx.xx.xxx
//密码登录 修改 PasswordAuthentication yes
vim /etc/ssh/sshd_config
//使sshd_config 修改生效
service sshd reload
本文标题:阿里云RSA登录和修改密码登录
本文链接:https://www.haomeiwen.com/subject/pdmfpftx.html
网友评论