Im trying to tunnel to
ssh -o ProxyCommand='ssh HopHostUser@HopHost nc -w 10 %h %p' DestinationHost
First, I get to authenticate towards HopHost as HopHostUser
After I authenticate towards HopHost, I get
Permission denied (publickey).
HopHostUser's connection to
DestinationHost is authenticated with a key, which are on configed for
If I were to connect towards DestinationHost through HopHost step by step, (without it being a tunnel / proxy) All i would have to is this:
me@localhost >> ssh HopHostUser@HopHost HopHostUser@HopHost password: HopHostUser@HopHost >> ssh DestinationHost HopHostUser@DestionationHost >>
If i use
-v to the original ssh command, I can see that the key on my localhost, instead of on HopHost
Can i tell SSH to use the external Key, instead of looking on my localhost?