Thread: SSH then telnet
View Single Post
  #6  
Old 04-03-2013, 08:41 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi Faran,
Quote:
I make SSH script and it is working but having problem that I have to press enter manually when script enter the password
I have not been able to reproduce any issue using your script code, Windows XP SP3 and SecureCRT 6.7.3. Would you be able to post a screenshot of the actual issue?
Quote:
Also after that I want to telnet to another machine from that SSH server
Does the machine to which you are connecting have a Telnet client?

If so, you will just need to enable Synchronous after connecting, use WaitForString() to wait for the prompt, and then use Send() to send the command to Telnet to the remote machine.

Does this help?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote