Re:Tofu: Do You Check?
by mindslight on Friday September 22, 2023 @02:32PM
(#37615827)
> [the attacker] cannot pretend to be the client to the server
Isn't the most common way of identifying ssh clients still just public key authorization? Meaning the attacker can MITM the real client connecting to the server, satisfy the real client's request, and then likely carry on doing whatever it likes.
Re:Tofu: Do You Check?
by progmetaldev on Friday September 22, 2023 @05:35PM
(#37618096)
SSH does have forward secrecy. The OP stated in a previous comment that they have fixed this in the article.
And as for "SSH has no forward secrecy", I thought SSH used Diffie-Hellman or similar to derive the session key? The SSH host key (and the client's public key) is for authentication only, stealing them does not reveal anything about past sessions.