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:
chmod 755 $HOME chmod 755 $HOME/.ssh chmod 644 $HOME/.ssh/authorized_keys
0 comments ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment