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

            Bug ID: 3722
           Summary: check ssh key (and other parameters) before running
                    the proxy command
           Product: Portable OpenSSH
           Version: 9.8p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: [email protected]
          Reporter: [email protected]

$> ssh -i ~/.ssh/foo -o proxyCommand="sh -c 'ssh-keygen -N password -f
foo'" nobody@nowhere
Warning: Identity file /home/tfoerste/.ssh/foo not accessible: No such
file or directory.
Connection closed by UNKNOWN port 65535

$> ls -l ~/.ssh/foo*
-rw------- 1 tfoerste tfoerste 444 Aug 25 14:13 /home/tfoerste/.ssh/foo
-rw-r--r-- 1 tfoerste tfoerste  95 Aug 25 14:13
/home/tfoerste/.ssh/foo.pub

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to