| Summary: | ProxyJump self-exec construction ignores path-to-self, exec's wrong ssh | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Phil Pennock <phil.pennock> | ||||
| Component: | ssh | Assignee: | Damien Miller <djm> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | CC: | djm, dtucker, phil.pennock | ||||
| Priority: | P5 | ||||||
| Version: | 7.6p1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 2852 | ||||||
| Attachments: |
|
||||||
|
Description
Phil Pennock
2018-02-13 09:20:48 AEDT
Created attachment 3157 [details]
Prefer to use argv[0] for ProxyJump ssh binary
By inspection, that will break sftp because argv[0] will refer to sftp and the ProxyJump will then try to execute sftp for the proxy connection. (Thanks for looking at this!) I don't follow - sftp exec()s ssh with argv[0] as /usr/sbin/ssh not sftp. Sorry. I was going from recollection that there was a scenario where something parsed an ssh_config(5) file with argv[0] not ending "/ssh". Looking again now, I only see ssh-keysign(1) doing so, and ProxyJump clearly doesn't apply to that. My mistake. Shutting up now. Fix applied - this will be in OpenSSH 7.8 Close RESOLVED bugs with the release of openssh-8.0 |