SSH – Remember password

Ok, so you don’t remember the password


ssh-keygen -t rsa

After the key has been created


ssh [email protected] mkdir -p .ssh
cat ~/.ssh/id_rsa.pub | ssh [email protected] 'cat >> .ssh/authorized_keys'

Leave a Reply

Your email address will not be published. Required fields are marked *