I don't have direct access to my remote machine at work. Normally I login with the following commands
(local)$ ssh id@gateway
Yubikey prompt (physically push a button on the yubikey)
PW prompt:
(gateway)$ (custom login command)
PW prompt:
(gateway)$ rlogin id@remote
(remote)$ access!
I've gone through the tramp examples for multi-hop ssh connections. however
- There were no mention of how to setup tramp with a physical authentication device
- No mention of how to issue a command on the gateway
Is there a way to tunnel through this in tramp-mode?