Xshell Forum

VB or shell script to ssh to a list of servers

Last post: Tuesday, October 8, 2013 9:46 PM by Gururaj, 3 reply

 
Wednesday, November 28, 2012 8:46 AM - Ankur Palankar

VB or shell script to ssh to a list of servers

 
I need to login to 80-100 servers, so creating 100 links or saved sessions is difficult.

Can someone give me a script where I just need to enter an option say 1-99 to ssh to that server with my rsa key

Program Ver. : Xshell 4
Thursday, November 29, 2012 9:07 AM - Ankur Palankar

Re: VB or shell script to ssh to a list of servers

 
I have managed to write a vb script using the run box of windows 7 to start a session.

eg :

C:\Program Files (x86)\NetSarang\Xshell 4\Xshell.exe -url ssh://user@hostname:22

Is there a parameter or variable that I can pass to use the saved user key, so that I dont get the pop up for password.
Thursday, November 29, 2012 10:36 AM - Ankur Palankar

Re: VB or shell script to ssh to a list of servers

 
Chuck it.

I got a soln.
Tuesday, October 8, 2013 9:46 PM - Gururaj

Re: VB or shell script to ssh to a list of servers

 
Please share the solution