I am trying to write an SSH config to connect to a server that we usually use a gateway to access, here is how we access our server :
ssh gu=<gatewayusername>@<username>@<server>@<gateway>
for example :
gu=training1@[email protected]@scb
where :
The gateway username is training1
The username on the target server is root
The target server is 192.168.60.100
The gateway server is scb
do you how the ssh config file looks like in this case ?
I tried some thing like this:
Host training
HostName 192.168.60.100
User training1@root
ProxyJump scb
but not working.
NinoFares is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.