Posted By

zeropx on 03/05/11


Tagged

key ssh capistrano rsa creation


Versions (?)

Capistrano SSH RSA key Creation


 / Published in: Bash
 

URL: http://www.picky-ricky.com/2009/01/ssh-keys-with-capistrano.html

Used to create my pub key to ssh to given ip for Capistrano Deployments. This is a one liner that the usage is just to change the IP_ADDRESS to the host ip you wish to authorize for.

  1. cat ~/.ssh/id_rsa.pub | ssh root@IP_ADDRESS "mkdir -p ~/.ssh; cat - >> ~/.ssh/authorized_keys"

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: zeropx on March 5, 2011

Just realized I posted this twice. hehe.

You need to login to post a comment.