Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 528 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 528 Bytes

SSH Server for Kubernetes

Use SSH to connect to your kubernetes cluster. See blog post for details.

Usage

  1. Add your public key to authorized_keys
  2. If you want a fixed public IP, set the desired loadBalancerIP in k8s/ssh-service.yaml
  3. Run generateHostKeys.sh
  4. Run updateKeys.sh
  5. kubectl create -f k8s/ssh.yaml
  6. kubectl create -f k8s/ssh-service.yaml

Whenever you want to add/remove keys

  1. Edit authorized_keys
  2. Run updateKeys.sh