Mar 25 10:04:10 coturn sshd[5486]: debug1: trying public key file /home/ted/.ssh/authorized_keys
Now, can anyone explain this to me? I always thought that the key hash (SHA256:Awr0ikVD79MmKnd1vxIsbvjg0c4/NivKlZ9Rh84CAZw) decides whether
the line in authorized_keys is found or not. Am I wrong somewhere?
Richard Kettlewell schrieb am Donnerstag, 25. März 2021 um 14:53:03 UTC+1:
Bernhard Fröhlich writes:
Mar 25 10:04:10 coturn sshd[5486]: debug1: trying public key fileThe public key needs to be in this file, and apparently isn’t. Either
/home/ted/.ssh/authorized_keys
it’s completely missing, or you have the wrong syntax, or a typo, or
something like that. Without visibility of the file’s contents it’s
impossible to say more.
The authorized_keys file was not changed between the two log excerpts!
Is there any way to find out why during the first try the key was not
found while during the second try it was?
So it would be most interesting how sshd decides that a line from authorized_keys matches a key offered by the client during the
handshake...
Bernhard Fröhlich writes:
Mar 25 10:04:10 coturn sshd[5486]: debug1: trying public key file /home/ted/.ssh/authorized_keysThe public key needs to be in this file, and apparently isn’t. Either it’s completely missing, or you have the wrong syntax, or a typo, or something like that. Without visibility of the file’s contents it’s impossible to say more.
Now, can anyone explain this to me? I always thought that the key hash (SHA256:Awr0ikVD79MmKnd1vxIsbvjg0c4/NivKlZ9Rh84CAZw) decides whetherauthorized_keys contains public key material, not key hashes.
the line in authorized_keys is found or not. Am I wrong somewhere?
Mar 25 10:04:10 coturn sshd[5486]: debug1: userauth_pubkey: test pkalg ssh-rsa pkblob RSA SHA256:Awr0ikVD79MmKnd1vxIsbvjg0c4/NivKlZ9Rh84CAZw
Mar 25 10:33:44 coturn sshd[5600]: debug1: userauth_pubkey: test pkalg rsa-sha2-512 pkblob RSA
SHA256:Awr0ikVD79MmKnd1vxIsbvjg0c4/NivKlZ9Rh84CAZw [preauth]
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 403 |
Nodes: | 16 (2 / 14) |
Uptime: | 111:24:13 |
Calls: | 8,465 |
Calls today: | 2 |
Files: | 13,181 |
Messages: | 5,909,866 |