eirini-ssh

module
v0.0.0-...-852ba09 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2019 License: Apache-2.0

README

Eirini ssh

This is a component that enables cf ssh for Eirini CloudFoundry clusters. It is the equivalent of diego-ssh for Eirini.

Test it out

  • Compile:

go build

  • Start it with a working config.json (check the example one under cmd/ssh-proxy/config.json) :

./ssh-proxy -config config.json

  • Find your applications guid:
cf app myapp --guid
  • Try to ssh to the proxy:
ssh -p 2222 cf:b654358e-edfd-4e9e-b646-7fa55d5f8eb7/0@127.0.0.1
  • When promted for a password use the one from the command:
cf ssh-code

More information:

Notes

To create a correct config.json file you will need the ssh-proxy user's secret (password). You can find that with something like

kubectl get secrets -n scf secrets-2.17.1-1 -o yaml | less

(look for uaa-clients-diego-ssh-proxy-secret)

decode the value with echo "the_value_here" | base64 -d. This is the value you need for the config.json file.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL