Execute ssh with password authentication via windows command prompt

后端 未结 5 929
走了就别回头了
走了就别回头了 2020-12-07 13:02

I need to execute ssh from windows command line by providing password in a non interactive manner. I could implement the key based authenti

5条回答
  •  [愿得一人]
    2020-12-07 13:27

    PuTTY's plink has a command-line argument for a password. Some other suggestions have been made in the answers to this question: using Expect (which is available for Windows), or writing a launcher in Python with Paramiko.

提交回复
热议问题