我正在编写一个运行以下命令的批处理文件
winscp sftp://username:password@host.com:22 /privatekey=pgp530.ppk
输出如下
正在搜索主机...正在连接到主机...正在验证...使用用户名“用户名”。使用公钥“imported-openssh-key”进行身份验证。密钥“imported-openssh-key”的密码:
有没有办法让批处理文件在提示时输入密码?谢谢!
我正在编写一个运行以下命令的批处理文件
winscp sftp://username:password@host.com:22 /privatekey=pgp530.ppk
输出如下
正在搜索主机...正在连接到主机...正在验证...使用用户名“用户名”。使用公钥“imported-openssh-key”进行身份验证。密钥“imported-openssh-key”的密码:
有没有办法让批处理文件在提示时输入密码?谢谢!