I’m having trouble with testing/learning capistrano… I failed at the
first thing I wanted to do… here:
david@local:~$ cap shell HOSTS=server1
- executing `shell’
Welcome to the interactive Capistrano shell! This is an experimental
feature, and is liable to change in future releases. Type ‘help’ for
a summary of how to use the shell.
cap> uname -r
[establishing connection(s) to server1]
It just hangs here… Let me mention that server1 is defined in hosts
file and only ssh login with client certificate is enabled. so SSH
server1 works without me having to type in anything (because the
certificate has been added to the keyring by ssh-add).
When interrupted (ctrl+c), this pops out:
join': Interrupt from /usr/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/capistrano/configuration/connections.rb:87:inestablish_connections_to’
each' from /usr/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/capistrano/configuration/connections.rb:87:inestablish_connections_to’
connect' from /usr/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/capistrano/shell.rb:148:inexec’
process_command' from /usr/lib/ruby/1.8/thread.rb:135:insynchronize’
process_command' ... 15 levels... from /usr/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/capistrano/cli/execute.rb:14:inexecute’
from /usr/bin/cap:16:in `load’
thank you very much!