| Summary: | Ssh, scp (6.2p2 or 7.4p1) can't support the way to enter the private key password in a non-interactive way. | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | wuzhao1024 |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | djm |
| Priority: | P5 | ||
| Version: | 7.4p1 | ||
| Hardware: | ix86 | ||
| OS: | Linux | ||
| Bug Depends on: | 69 | ||
| Bug Blocks: | 3162 | ||
|
Description
wuzhao1024
2019-11-01 18:53:09 AEDT
Generally your best option in this case it to use ssh-agent. It is possible to ssh-add passworded keys to an agent by passing the password on stdin. In OpenSSH 8.4, it will also be possible to force the use of $SSH_ASKPASS via the $SSH_ASKPASS_REQUIRE environment (see bug #69), which might offer another approach for you. Mass close of all bugs fixed in 8.4 release. |