PuTTY scripting to log onto host

前端 未结 8 874
被撕碎了的回忆
被撕碎了的回忆 2021-02-14 11:53

I\'m using PuTTY to remotely log onto my school\'s host. Upon logging in, we are required to do these steps:

  1. enter username
  2. enter password
  3. comman
相关标签:
8条回答
  • 2021-02-14 12:39

    mputty can do that but it does not seem to work always. (if that wait period is too slow)

    mputty uses putty and it extends putty. There is an option to run a script. If it does not work, make sure that wait period before typing is a high value or increase that value. See putty sessions , then name of session, right mouse button,properties/script page.

    0 讨论(0)
  • 2021-02-14 12:43

    I want to suggest a common solution for those requirements, maybe it is a use for you: AutoIt. With that program, you can write scripts on top of any window like Putty and execute all commands you want to (like button pressing or mouse clicking in textboxes or buttons).

    This way you can emulate all steps you are always doing with Putty.

    0 讨论(0)
提交回复
热议问题