Amazon ec2 改成密码登录方式,


sudo passwd root
su root
vi /etc/ssh/sshd_config
"# PasswordAuthentication yes" uncomment
sbin/service ssh restart
这样就不用
ssh ec2-user@ecxx.xxx.xx.us-west-1.compute.amazonaws.com -i xxx.pem

 

相关内容

    暂无相关文章