Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for jump through for bastion host before install #38

Open
octdanb opened this issue Nov 2, 2022 · 1 comment
Open

Allow for jump through for bastion host before install #38

octdanb opened this issue Nov 2, 2022 · 1 comment

Comments

@octdanb
Copy link

octdanb commented Nov 2, 2022

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

@jsiebens
Copy link
Owner

jsiebens commented Nov 9, 2022

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 ubuntu@192.168.5.1

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

ssh -L 2222:localhost:22 ubuntu@192.168.5.101

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants