You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ssh-container/README.md
+61-21Lines changed: 61 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,46 +4,86 @@ This container provides SSH access to launcher containers running on Rabbit node
4
4
5
5
## Overview
6
6
7
-
The SSH container enables remote access to Rabbit User Container workflows. It requires predetermined UID/GID and generated SSH keys baked into the image for secure authentication.
7
+
The SSH container enables remote access to Rabbit User Container workflows. It requires predetermined UID/GID and
8
+
generated SSH keys baked into the image for secure authentication. This means users will need to build their own image
9
+
and publish it somewhere.
8
10
9
-
⚠️ **Security Note**: Images are user-specific and the generated keys must be kept secure - loss of keys means loss of access to the container.
11
+
⚠️ **Security Note**: Images are user-specific and the generated keys must be kept secure - loss of keys means loss of
12
+
access to the container.
10
13
11
-
## Quick Start
14
+
## Building and Publishing Your Image
15
+
16
+
In this example, I use ghcr.io to publish the image publicly. Change this to an internal registry. This is using docker, but podman can be used.
12
17
13
18
```bash
14
19
# 1. Generate SSH keys
15
-
make ssh-keys client-keys
20
+
make keys
16
21
17
22
# 2. Build with your UID/GID
18
-
make build UID=1060 GID=100
23
+
make build UID=1060 GID=100# you can also change this in the Makefile
19
24
20
25
# 3. Test locally
21
26
make run
22
27
make connect
23
28
24
29
# 4. Publish to your registry
25
-
docker tag ssh-container:latest your-registry.com/ssh-container:latest
0 commit comments