[Bug 2700] New: Missing PEM identity_file should be a fatal error

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Mar 27 17:12:51 AEDT 2017


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

            Bug ID: 2700
           Summary: Missing PEM identity_file should be a fatal error
           Product: Portable OpenSSH
           Version: 7.2p2
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: jg at jguk.org

ssh -i "me.pem" ubuntu at myserver33.net
Warning: Identity file me.pem not accessible: No such file or
directory.
Permission denied (publickey).

I can see there is a 3 second wait before the "Permission denied
(publickey)." which is the connection to the myserver33.net

My thought is that this should be a fatal error, not just a warning.


Another note, the error is not accurate, as only a file is expected. ie
if open() on the file fails, errno is ENOENT, then it should say "No
such file"

"Identity file me.pem not accessible: No such file."

Thank you, Jonny

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list