Overclock.net - An Overclocking Community - Reply to Topic

Thread: Bash script waiting for input Reply to Thread
Title:
Message:

Register Now

In order to be able to post messages on the Overclock.net - 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.
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:

Log-in


  Additional Options
Miscellaneous Options

  Topic Review (Newest First)
07-10-2016 03:16 PM
tom.slick The login should be done with ssh key-pairs, but you can also use "except"
http://stackoverflow.com/questions/13298487/bash-script-to-ssh-into-a-machine-without-prompting-password-and-without-using-k
http://stackoverflow.com/questions/16928004/how-to-enter-ssh-password-using-bash
07-09-2016 08:14 PM
TLCH723 Hi, I have couple places I need to ssh into twice that usually go something like this.
Code:
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.

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