Jump to content

sending keystrokes to the putty interface

Recommended Posts

Newbie alert :)

I'm trying to send keystrokes to the putty client in order to automate the login process. I need to login twice, first onto the unix server, and the second time in the application. The first user/id password works fine (obviously because it's part of the commandline) , but as soon as putty is started, i'm unable to send any data to it. I tried the standard "send" command, as well as the "controlsend" command, but both don't seem to work.

I also tried this with notepad, and this is working fine. What could this be?

Run("putty -load shelfpick -l user -pw password")
ControlSend ( "PuTTY", "", controlID, "root" [, flag = 1] )


Major thanks for helping me out!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...