【发布时间】:2017-01-16 03:32:27
【问题描述】:
我想在 Windows 批处理中使用 OpenSSH 远程连接到 Linux 机器。
当我进入时
>ssh <ip address>
提示我输入远程机器的密码
>password:
在 Windows 批处理中响应非常麻烦,必须自动运行。
如何在不提示输入密码的情况下使用 OpenSSH 连接到 Linux 机器?有没有办法在 ssh 命令中包含 pw ?或者任何其他好的解决方案(除了从 Linux 机器中删除密码)?
【问题讨论】:
标签: linux windows batch-file ssh openssh