I'm on macos with a Yubikey. The Yubikey's publickey is added to ServerA and ServerB. I can connect to any server directly from macos with the Yubikey plugged in.
Is it possible to SSH to ServerA and from there to ServerB like so:
macos -> ServerA -> ServerB
This does not work out of the box because the publikey of user@ServerA is not known on ServerB.
Is it possible to have ServerA use the Yubikey that is plugged into the mac when connecting to ServerB via SSH?