4 ms·
I created a key with `ssh-keygen -t ed25519 -C "your_email@example.com"` and then connected with `ssh new@prose.sh` how did it know to use the new key I just cr
by Lord_Zero 4y ago
I created a key with `ssh-keygen -t ed25519 -C "your_email@example.com"` and then connected with `ssh new@prose.sh` how did it know to use the new key I just created?
- tender_euler 4y agoIt just tried out all keys you have until it worked. If you run `ssh new@prose.sh -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".