It's recommended:
- to maintain a separate jumpbox VM for your environment
- do not SSH to the Director
- use
bosh ssh
to access VMs in your deployments and use jumpbox VM as your SSH gateway
To obtain SSH access specifically to the Director VM you can opt into jumpbox-user.yml
ops file. It will add a jumpbox
user to the VM (by using user_add
job from cloudfoundry/os-conf-release).
$ bosh int creds.yml --path /jumpbox_ssh/private_key > jumpbox.key
$ chmod 600 jumpbox.key
$ ssh jumpbox@<external-or-internal-ip> -i jumpbox.key