https://bugzilla.mindrot.org/show_bug.cgi?id=3722

--- Comment #3 from Toralf Förster <[email protected]> ---
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@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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to