# K8s-ssh

K8s-ssh is a self-hosted infrastructure app. A Helm chart that deploys k8s-ssh, a tool that provides secure SSH access to Kubernetes pods using service accounts, so cluster operators can debug workloads without exposing pods directly. It is open source and self-hosted, installable on Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/4971/k8s-ssh

## Description

A Helm chart that deploys k8s-ssh, a tool that provides secure SSH access to Kubernetes pods using service accounts, so cluster operators can debug workloads without exposing pods directly.

## Platform availability

Available on 1 of 10 platforms: Helm.

## Health score

44/100 (Fair), based on 3 of 4 factors.
- Maintained: 70 (last commit 50 days ago)
- Popular: 18 (7 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)

## Links

- GitHub: https://github.com/guilhem/k8ssh
- Kubernetes (Helm): https://artifacthub.io/packages/helm/shlomibendavid/k8s-ssh

## Common questions

### How do I expose self-hosted Kubernetes services to clients outside the cluster?

Cloud providers can provide an external IP for the service. On bare metal, you can configure metallb to act as a load balancer for your services.

### Why does outbound SSH from a Kubernetes pod time out when the same command works from a node?

A user reports that SSH from a worker node succeeds, while the same command run from a pod times out or takes a long time to connect.

### Why can SSH to a pod on port 22 as a non-root user return 'Permission denied (publickey)'?

A user reports this publickey denial when connecting to a pod as a non-root user, with both the pod and OpenSSH server running as root.

### Should business-critical self-hosted apps be isolated in a separate Kubernetes cluster?

If you are already planning to use Kubernetes, you can isolate business-critical applications in a separate cluster. Built-in health monitoring is a useful part of that setup.

---
Source: Our Local Host (https://ourlocalhost.com/app/4971/k8s-ssh), the self-hosted and open-source app directory.
