Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

ssh-ing to instances from jumpbox #26

Open
robertroeser opened this issue Sep 20, 2018 · 5 comments
Open

ssh-ing to instances from jumpbox #26

robertroeser opened this issue Sep 20, 2018 · 5 comments

Comments

@robertroeser
Copy link

Hi,

I'm able to get to the jumpbox ok, but I can't figure out how to ssh to instances from the jumpbox. I checked the documentation, and I can't find an example of how to do this? Tried various usernames etc, and can't get it to work.

Thanks,
Robert

@gzussa
Copy link

gzussa commented Nov 5, 2018

I am having the same issue. To work around it I added the network tag (for port 22) on the instance I want to ssh to. However, I am not able to use BOSH or any other tools. So, I would love to know about the proper way to ssh to the ops manager with the relevant user so that I can use bosh cli and other cloud foundry related commands.

@mgoddard-pivotal
Copy link

I'm curious about this as well, since I'd like to access Ops Man to do some things with Cred Hub. There haven't been any comments on this since November 5, so is it a non-issue for most folks? Could someone offer a breadcrumb ;-)

@mattysweeps
Copy link
Contributor

This doesn't solve the problem, but I was able to use eval util/target_bosh.sh script to set up my environment and then I could bosh ssh into instances. This requires the openBSD version of netcat to work (see cloudfoundry/bosh-cli#328) This doesn't solve @gzussa 's use case.

Another thing to check are the SSH keys in the GCE metadata section. In theory, a project wide SSH key should be able to ssh in to each machine.

@mgoddard-pivotal
Copy link

Thanks, @mattysweeps. I'll check my SSH keys and try again, and the bosh ssh route makes sense as a fallback.

@gzussa
Copy link

gzussa commented Mar 19, 2019

@mattysweeps What do you think is the best was to use bosh on the VM? How do you set it up?

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

No branches or pull requests

4 participants