Bash script waiting for input - - An Overclocking Community

Forum Jump: 

Bash script waiting for input

Thread Tools
post #1 of 2 (permalink) Old 07-09-2016, 08:14 PM - Thread Starter
New to
TLCH723's Avatar
Join Date: Nov 2010
Location: NYC, NY
Posts: 863
Rep: 31 (Unique: 28)
Hi, I have couple places I need to ssh into twice that usually go something like this.
ssh [email protected]
Enter password
Use Yubikey
ssh [email protected]

address2 can be different depend on the server I want to ssh into.
So I was thinking I write a bash script for each of the server but I am not sure if I can use it since I will need to enter password and yubikey.

Thank you.

Canon T3i/600D | EF-S 18-55mm f/3.5-5.6 IS II Lens | EF-S 55-250mm f/4-5.6 IS II Lens | Tokina AT-X 116 PRO DX-II 11-16mm f/2.8 Lens | Sigma 50mm f/1.4 DG HSM Lens ART
YongNuo YN568EX | 2 x YN622C

Nikon FG | 50mm f/1.8 Series E

TLCH723 is offline  
Sponsored Links
post #2 of 2 (permalink) Old 07-10-2016, 03:16 PM
New to
tom.slick's Avatar
Join Date: May 2009
Location: Orange County
Posts: 1,012
Rep: 158 (Unique: 128)
tom.slick is offline  

Quick Reply

Register Now

In order to be able to post messages on the - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Please enter a password for your user account. Note that passwords are case-sensitive.
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Forum Jump: 

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off