I read several versions of this question and try to implement them but they did not work so I want to ask my problem with specific details.
Host A: Local Computer
Host B: Intermediate computer ( I can access from my local with using a public key, foo.key
Host C: Final Computer ( I can access it from Host B)
I followed commands like:
ssh -J [email protected] [email protected]
But where to put key?
When I try something like:
ssh -i foo.key -J [email protected] [email protected]
It gives error too.