Versions:

   - Ruby 2.1.6
   - Capistrano 3.4.0
   
Platform:

   - Linux

Files:

   - deploy.rb


I'm wondering if there is a way to automatic enter info on server when it 
requests.


To give some background, I added Two Factor Auth with google authenticator 
on some servers.


When I deploy just to one server, it asks me for:


Password:
Verification Code:

Which I enter manually (a password for Password, a code for Verification 
Code) and the deploy is made without major problems.


When I have to deploy to more than one server at the same time, it asks me 
for:


Password:  Password:  


and whatever I enter it always break.


So I'm wondering if I can make the deploy scripts to automatic enter some 
text when it seems "Password:" and "Verification Code:" automatically, by 
doing that, I'm planing to ask for password and google token when the 
deploy process start, and when the remote server asks for Password: and 
Verification Code: to automatically enter the data I supplied for password 
and verification code.


Thank you


Rod

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/8fd0799f-90fe-4f22-a29b-1981a6071348%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to