3 ms·
> I'm actually surprised the ssh protocol doesn't have MITM mitigation built in. I don't understand, doesn't it? If the key for a host changes, it throws a sca
by stavros 5y ago
> I'm actually surprised the ssh protocol doesn't have MITM mitigation built in.
I don't understand, doesn't it? If the key for a host changes, it throws a scary warning. If you haven't connected to a host before, you're asked to trust the key. How does this utility manage to MITM exactly?
- agwa 5y agoThis utility can only perform MitMs if the client doesn't correctly verify the server's identity - e.g. if the user doesn't verify the fingerprint during the first connection, or they override the scary MitM warning. If the client correctly verifies the server's identity, then MitM is not possible. exabrial is referring to a mitigation that works even if the client doesn't correctly verify the server's identity. SSH actually does have this mitigation, but it doesn't fully prevent nastiness, as I explain here: https://news.ycombinator.com/item?id=29259981 https://news.ycombinator.com/item?id=29259981
- stavros 5y agoAh okay, thank you. So this is a lot less scary than I initially thought.