Generated Session URL/Code doesnt work for Tunnels Connections
I have a tunneled connection, using one host to jump to another. I configured it and it works properly in the GUI. The problem is when I try to execute the code that is Generated in a script. I get the error below.
batch abort
confirm off
Opening tunnel...
Searching for host...
Connecting to host...
Authenticating...
Expected host key was not configured, use -hostkey switch.
Host key fingerprint is ssh-ed25519 256 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=.
Authentication failed.