Copy my to remote server authorized_keys via ssh

/ Published in: Bash
Save to your folder(s)

I use this to quickly (in one line) copy my own to remote server so I can connect w/out using my password.

Copy this code and paste it in your HTML
  1. cat ~/.ssh/ | ssh 'cat >> .ssh/authorized_keys'


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.