vanutsteen.nl => nerds only A blog on rails, php, computing, my bass guitar and stuff

Deploying, merb, capistrano & passenger

on in Development, Ruby

First of all I did a:

capify .

And used this deploy.rb

Then to setup the current, releases, etc. directories:

cap deploy:setup

Then, when I tried to login via ssh with shared key: nothing! After some searching I found out that capistrano messed up the permissions on the .ssh directory :(

To fix it:

1
2
3
chmod 755 $HOME
chmod 755 $HOME/.ssh
chmod 644 $HOME/.ssh/authorized_keys

Comments