Tuesday, July 16, 2013

to set ssh authorized_keys on CentOS is different from Ubuntu on EC2

cd ~/.ssh
chmod og-rw authorized_keys
chmod a-x authorized_keys

chmod 700 ~/.ssh

## append your local ~/.ssh/id_rsa.pub content to remote site's authorized_keys

No comments:

Post a Comment