Re:Prose.sh – A blog platform for hackers
by Lord_Zero on Friday July 22, 2022 @11:20AM
(#32192910)
I created a key with `ssh-keygen -t ed25519 -C "[email protected]"` and then connected with `ssh [email protected]` how did it know to use the new key I just created?
[ Parent
| on HN ]
Re:Prose.sh – A blog platform for hackers
by tender_euler on Saturday July 23, 2022 @03:21PM
(#32206674)
It just tried out all keys you have until it worked.
If you run `ssh [email protected] -v` you should see something like this after you closed the TUI:
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/tender_euler/.ssh/id_rsa RSA SHA256:F67gFVIydWnAVPU6HcYUD/tEjmmgOgwFPs+dzELhgD8
debug1: send_pubkey_test: no mutual signature algorithm
debug1: Trying private key: /home/tender_euler/.ssh/id_ecdsa
debug1: Trying private key: /home/tender_euler/.ssh/id_ecdsa_sk
debug1: Offering public key: /home/tender_euler/.ssh/id_ed25519 ED25519 SHA256:1H4mPO+WR0SMockqr+Vljy+1ht7bj/QIKL71d8nBIZk
debug1: Server accepts key: /home/tender_euler/.ssh/id_ed25519 ED25519 SHA256:1H4mPO+WR0SMockqr+Vljy+1ht7bj/QIKL71d8nBIZk
Authenticated to prose.sh ([2604:a880:800:10::8c1:e001]:22) using "publickey".