0

My Openstack VMs in my setup can be only access using a gateway machine. I always need to use a ProxyCommand to connect to them.

Now I work with juju and, after setting up metadata and tools, I run juju bootstrap. Everything works fine, but the juju is not able to connect to the newly started VM. Juju assumes that the connection is direct.

How can I make juju use ssh_config or predefine ProxyCommand for all VMs for a given environment?

1 Answer 1

2

My current solution is: find out the IP schema for internal IPs (in my case: 10.115.x.x) and create corresponding rule in the ssh config:

Host 10.115.*
    ProxyCommand ssh forward@my_gateway_machine nc -q0 %h %p

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .