the-bastion icon indicating copy to clipboard operation
the-bastion copied to clipboard

groupAddServer with jump

Open mvalois opened this issue 3 years ago • 2 comments

Is that possible to add a server in a group using an SSH proxy jump ?

mvalois avatar Oct 06 '21 13:10 mvalois

You would need to do this on the egress side, in other words being able to specify that on the bastion itself, the command to build the egress tunnel be something like ssh -J proxyuser@proxyjump:proxyport -p port user@host, instead of ssh -p port user@host, is that correct? If this is the case, it's not currently possible to do it, but it should be easy to implement, as long as the proxyuser@proxyjump:proxyport is fixed per-host (in a group or through personal accesses).

speed47 avatar Oct 15 '21 10:10 speed47

Correct. Maybe ingress connection does not even have to know how egress connection is done, so egress side only seems acceptable. I imagine the proxy jump being fixed per-host, yes.

mvalois avatar Oct 15 '21 10:10 mvalois