[Bug 3722] check ssh key (and other parameters) before running the proxy command
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Aug 27 03:10:26 AEST 2024
https://bugzilla.mindrot.org/show_bug.cgi?id=3722
--- Comment #3 from Toralf Förster <toralf.foerster at gmx.de> ---
IMO ssh should not run the given proxy command, if the specified ssh
key is not valid or does not exist. But it runs the proxy command:
$ rm -f /tmp/foo
$ ssh -i ~/.ssh/non-existing-key -o proxyCommand="sh -c 'touch
/tmp/foo'" nobody at nowhere
Warning: Identity file /home/tfoerste/.ssh/non-existing-key not
accessible: No such file or directory.
Connection closed by UNKNOWN port 65535
$ ls -l /tmp/foo
-rw-r--r-- 1 tfoerste tfoerste 0 Aug 26 19:09 /tmp/foo
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
More information about the openssh-bugs
mailing list