Amazon ec2 改成密码登录方式,
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
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
评论暂时关闭