PuTTY scripting to log onto host

前端 未结 8 884
被撕碎了的回忆
被撕碎了的回忆 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:35

    For me it works this way:

    putty -ssh root@1.1.1.1 22 -pw password
    

    putty, protocol, user name @ ip address port and password. To connect in less than a second.

提交回复
热议问题