Specifying private key on PuTTY command-line

前端 未结 1 2005
离开以前
离开以前 2021-02-18 22:13

I know there are simple commands to login to remote machine through VBA i.e. by specifying User@hostname and -pw option to provide the password in

1条回答
  •  广开言路
    2021-02-18 22:42

    Use the -i switch to specify the private key.

    putty.exe username@example.com -i mykey.ppk
    

    See PuTTY command line documentation.

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