Re:OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Wern...
by fl0ki on Friday December 08, 2023 @03:01PM
(#38573477)
> which you'll then (presumably) enter your password into.
One of the many arguments for using pubkeys so that's all they'll get. Neverthless, the rest of the session could still be anything, and agent forwarding should never be used for untrusted hosts.
If you're connecting to an SSH server for the first time and don't already have a pre-established host fingerprint, then yes: someone who controls your server's DNS records can redirect you to another SSH host, which you'll then (presumably) enter your password into.