[capistrano] Two factor authentication

64 views
Skip to first unread message

Tomás Mery

unread,
Feb 2, 2012, 7:27:50 PM2/2/12
to Capistrano
Hi,

I'm trying to deploy an application to a host with two factor
authentication, first the ssh key (rsa) and after the check it runs
"sudo su user" instead of bash, so it asks for the user's password
before launching the shell. Is there any way to make Capistrano work
with this? or another 2 factor auth that Capistrano supports. It gives
me the following error:

/Users/<user>/.gem/ruby/1.8/gems/net-ssh-2.3.0/lib/net/ssh/
ruby_compat.rb:36:in `select': closed stream (IOError)

(Pardon my english, I speak spanish)

Regards!
Reply all
Reply to author
Forward
0 new messages