News for hackers. Stuff that matters.
Re:SSH has no Host header by grey-area on Wednesday March 18, 2026 @03:03AM (#47422439)
Doesn’t it try one key at a time rather than send all?
Re:SSH has no Host header by bauruine on Wednesday March 18, 2026 @03:50AM (#47422818)
True but a server that wants to "deanonymize" you can just reject each key till he has all the default keys and the ones you added to your ssh agent.

You can try it yourself [0] returns all the keys you send and even shows you your github username if one of the keys is used there.

[0] ssh whoami.filippo.io

Re:SSH has no Host header by grey-area on Wednesday March 18, 2026 @04:29AM (#47423115)
Nice, tried it out. This wording is incorrect though:

"Did you know that ssh sends all your public keys to any server it tries to authenticate to?"

It should be may send, because in the majority of cases it does not in fact send all your public keys.

Re:SSH has no Host header by unsnap_biceps on Wednesday March 18, 2026 @03:18AM (#47422553)
It does, and there's typically a maximum number of attempts (MaxAuthTries defaults to 6 IIRC) before the server just rejects the connection attempt.
Re:SSH has no Host header by 84634E1A607A on Wednesday March 18, 2026 @04:20AM (#47423054)
Yep, but this is server-side setting. Were I a sniffer, I would set this to 10000 and now I can correlate keys.
Re:SSH has no Host header by rwmj on Wednesday March 18, 2026 @05:46AM (#47423567)
Modern sshd limits the number of retries. I have 5 or 6 keys and end up DoSing myself sometimes.
Re:SSH has no Host header by grepfru_it on Wednesday March 18, 2026 @08:58AM (#47425236)
This thread made me realize why fail2ban keeps banning me after one failed password entry :lightbulb: