View Single Post
Old 08-26-2008, 08:14 PM
phillip phillip is offline
Registered User
Join Date: Aug 2008
Posts: 3
SSH to a UNIX server via a gateway machine


To connect to my target machine, I have to first to one or more gateway server(s).

In order to automate the process I have written a vbs script to logon to each gateway server in turn and sending the password as required via the WaitForStrings method.

This is an example of what I am trying to do:
I am running SecureCRT on my PC, a.
I want to log onto UNIX server b.
To reach server b I first need to log onto server C.
From a's SecureCRT, I create a session onto C. Then the script issues a "ssh b" and when b prompts for a password the script sends it.

Is there a smarter way of doing this via SecureCRT? I know I can make the servers "trusted ssh" but this is not allowed by the site. Also I know I can use ssh tunnelling but once again this is not allowed by the site.
Reply With Quote