Score:0

port forwarding through a bastion host

in flag

I want to port-forward to a server through bastion host. The way I connect to bastion is why my ssh key after I login to the company network. The connection from the bastion to the server, I want to port-forward, is using a different ssh key (same username). How can I correctly port forward through a bastion to a server. I tried the -J (proxy jump) option but it is not working. I have only access to the public key from Bastion -> Server. Here is what I tried and it says `Permission denied (publickey). Specifying a key with -i is not possible as I don't know the private key in Bastion.

ssh -J [email protected] [email protected]

What am I missing here ?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.