/docker-sshd

Dockerized SSH server prepared for Kubernetes

Primary LanguageShell

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