Skip to content

SSH keys and capistrano deployment

Alex Watt edited this page Jun 25, 2014 · 1 revision

Granting deploy permissions (so that bundle exec cap deploy is successful) is as simple as appending the public key to the .ssh/authorized_keys file on the server.

Users will want to use ssh-add to add their passphrase to the SSH key agent if they have not already done so. (I, @alexcwatt, recently changed my SSH key and was having trouble deploying until I did this.)

Clone this wiki locally