//密钥登录
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