modified: README.md
All checks were successful
/ ssh-server-container-build-push (push) Successful in 1m11s
/ ssh-client-container-build-push (push) Successful in 18s

This commit is contained in:
Márcio Fernandes
2026-03-21 08:36:17 +00:00
parent 9bc583d9bd
commit 253e873c66

View File

@@ -50,7 +50,17 @@ _(local machine without direct access to target-server)_
ssh -f -N -L localhost:8001:target-server:80 usr@jump-machine.local
```
### kubernetes - ssh client
## ssh-client
### podman
``` bash
podman container run \
-v $HOME/.ssh:/root/.ssh:ro,Z \
git.limbosolutions.com/kb/ssh-client:latest
```
### kubernetes
```yaml
kind: Pod
@@ -104,3 +114,16 @@ spec:
- key: SSH_PRIVATE_KEY
path: SSH_PRIVATE_KEY
```
### Local Build and Development
``` bash
podman build docker/ssh-client \
--build-context ssh-client=docker/ssh-client \
-t git.limbosolutions.com/kb/ssh-client:local-dev
podman container run -it \
-v $HOME/.ssh:/root/.ssh:ro,Z \
git.limbosolutions.com/kb/ssh-client:local-dev \
/bin/bash
```