3 ms·
AIUI A SSH session first performs a DH key exchange and authenticates the server. Only over that already-encrypted session will the client offer its public keys
by the8472 11y ago
AIUI A SSH session first performs a DH key exchange and authenticates the server. Only over that already-encrypted session will the client offer its public keys.
That means the public key will not be leaked to outside observers. Combine with server-specific keys to avoid potential "try logging into my server" social engineering.
This means only the server will ever learn your public key, but it has to know that already anyway.
So publishing your public key does not leak any privacy bits.
- drewbug 11y agoYou're right, my bad.