ANT do have sshexec and scp task that may read encrypted ssh private key by passing password to the task. This isn't secure at all.

The Pageant from Putty stores private key that may used for SSH authentication anytime. Is there a way to make ANT and Pageant work together for SSH public key authentication?

没有正确的解决方案

其他提示

ANT uses jsch as it's ssh implementation. This project has recently created a ssh agent proxy, but I don't believe it's integrated into the ANT task yet.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top