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

            Bug ID: 3147
           Summary: Confusing error message when the public key is
                    missing.
           Product: Portable OpenSSH
           Version: -current
          Hardware: All
                OS: OpenBSD
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: ssh
          Assignee: [email protected]
          Reporter: [email protected]

I just upgraded my machine to the latest -current as of today. When
trying to login to a remote machine using ssh(1), I got the following
error because my id_rsa.pub is missing:

> load pubkey "/home/jesper/.ssh/id_rsa": invalid format

The error is very confusing and as I see it, it seems like ssh(1) tries
to load my private key and use it as a public key? Or it tries to load
the public key *for* my id_rsa, and fails because it does not exist,
but then the error should tell me the key/file does not exist rather
than invalid format?

Adding the id_rsa.pub again will make the error go away though.

-- 
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