SSH Keys in Default Locations Not Discovered by Default
Reported by jesse newland | May 2nd, 2008 @ 05:55 PM
After upgrading to Capistrano 2.3.0, a the definition for a host that I log into with public-key authentication had to be adjusted thusly:
Old
role :foo, "user@foo.com", :primary => true
New
role :foo, "user@foo.com", :primary => true, :ssh_options => { :keys => ["~/.ssh/id_dsa"] }
This seems like a regression to me - hosts to which logins 'just work' in bash should 'just work' in Capistrano, it seems.
I'm not sure if this regression happened in Net:SSH or Capistrano proper - haven't really had time to delve into the updates in Net:SSH land. Thought I'd bring it to your attention ASAP though - it seems like quite a few people may be bitten by this.
Comments and changes to this ticket
-
Jamis Buck May 2nd, 2008 @ 09:04 PM
- → State changed from new to resolved
Thanks for pointing this out. It's a Net::SSH regression, and I just committed the fix (http://github.com/jamis/net-ssh/...). I'll get that released tonight sometime, if possible, and tomorrow otherwise.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
