Skip to main content

Timeline for answer to Did I just send my private ssh key? by slhck

Current License: CC BY-SA 3.0

Post Revisions

6 events
when toggle format what by license comment
May 30, 2018 at 15:19 comment added grawity @Kenster: No, it does read the .pub file as well – so that it could query the server about the public part, before having to ask you for the decryption passphrase. (OpenSSH needs this as the entire file is encrypted. PuTTY's key format, otoh, doesn't encrypt the public half so a separate .pub file is not needed.)
Jan 24, 2015 at 22:45 comment added Kenster To nitpick, ssh doesn't actually read the .pub file. It just reads the private key file. The public key can be extracted from the private key. ssh-keygen has an option to read a private key and output its public key.
Jan 23, 2015 at 9:46 comment added slhck Yeah, it could be permissions or one of the usual suspects :)
Jan 23, 2015 at 9:39 vote accept crunsher
Jan 23, 2015 at 9:39 comment added crunsher Thanks! I found it hard to believe ssh would do that myself. Now that would mean the Permission denied (publickey). error is not caused by ssh sending the wrong key but one of the usual causes.
Jan 23, 2015 at 9:26 history answered slhck CC BY-SA 3.0