On 1/30/08, Rick Schumeyer <[EMAIL PROTECTED]> wrote: > > > It seems that capistrano uses ssh in two places: > > 1) capistrano will ssh to the server to perform tasks. Is it using > net-ssh or a command line ssh?
My understanding is that Capistrano is using net-ssh to connect to the server. When I was choosing between Capistrano and Vlad, this was a big factor -- net-ssh is more likely to "just work" anywhere ruby does (Windows), and Capistrano uses it to cache connections. > My goal is to set up public/private keys to avoid having to type > passwords for each capistrano task. I think I have this set correctly > for #2, but not #1. We're using svn+https, which means standard usernames/passwords. Solved this by creating a single read-only account, and hardcoding the password in a deploy.rb, which gets stored in SVN along with everything else. I figure, if you can read that file, you already have at least as much access as the read-only account would give you. You could probably do something similar for svn+ssh. It may not be the best way, just a suggestion. If my guess is correct, then capistrano uses two different ssh clients? Indirectly -- if your guess is correct. But I'm not really sure how Capistrano could use net-ssh at the other end. At least right now, Capistrano doesn't even seem to require Ruby on the remote server. (That's not too helpful if you're using it to deploy Rails, since Rails needs Ruby too...) --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
