Copy SSH key to the server


cat ~/.ssh/id_rsa.pub | ssh user@host 'cat >> ~/.ssh/authorized_keys && echo "Key Copied"'

Comments