用Putty命令行PSFTP.exeinput私钥密码
我正在使用psftp.exe来自动下载文件,但需要使用私钥连接,如下所述。 我可以连接,但是,私钥需要密码。 这个程序的工作原理,但我必须从键盘input密码,从命令行运行的过程失败。 我想知道是否有人能告诉我如何在命令行中发送密码。 Using Putty's PSFTP.exe With A Private Key Command Line: c:\putty\psftp.exe [email protected] -i putty_id_rsa_1024.ppk -bc:\putty\myscript.scr Command Line Notes: Replace username with your login name and modify the "putty_id_rsa_1024.ppk" key name to match your key. In order to use a key, you will need to use puttygen.exe to generate, import, and or export […]