hashi-up icon indicating copy to clipboard operation
hashi-up copied to clipboard

Allow for jump through for bastion host before install

Open octdanb opened this issue 3 years ago • 1 comments

Hi there, loving hashi-up, just wondering if it has the ability to install via a jump host. If so is there any documentation regarding it Thanks

octdanb avatar Nov 02 '22 20:11 octdanb

Hi @octdanb, thanks for your interest in hashi-up

Installation via a jump host is not supported, but I have a workaround to achieve this:

I'm sure the ssh client will use your SSH config, so you should be able to create a connection with local port forwarding, eg:

My SSH config:

Host 192.168.5.101
  ProxyJump [email protected]

First bring the SSH service of the target to your local machine:

ssh -L 2222:localhost:22 [email protected]

Now you can install nomad with hashi-up, using the local port:

hashi-up install nomad --ssh-target-addr localhost:2222 ...

jsiebens avatar Nov 09 '22 06:11 jsiebens