We isolated the problem with Jamis. If anyone also bumps into this, here it's what was happening: I had specified the default port for server1 in ssh.conf. Thus "ssh server1" worked (and didn't connect to default port 22). Net::SSH doesn't currently read that conf and tried to connect to 22.
Jamis Buck wrote: > So, just to make sure, the following command works for you just fine: > > [EMAIL PROTECTED]:~$ ssh server1 "uname -r" > > ? > > If so, could you do the following: > > 1. Create a Capfile in the current directory. > > 2. Add "ssh_options[:verbose] = :debug" to the Capfile. > > 3. Save and close the Capfile. > > 4. Run "cap shell HOSTS=server1" again. > > Then, email me (directly, not to the list) whatever was spewed to the > console as a result of enabling debugging SSH output. > > - Jamis -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---