ssh key to authorized on remote server


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



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

URL: http://linuxproblem.org/art_9.html

Report this snippet


Comments


You need to login to view comments.