@@ -12,13 +12,13 @@ This will pull your public keys from GitHub and use those for SSH authentication
1212## Configuration
1313| Flag | Description |
1414| ------------- | ------------- |
15- | ` - user` | The GitHub user to pull keys for<br >** Required** |
16- | ` - port` | The remote port for the SSH server<br >Default: ` 8722 ` |
17- | ` - shell` | The shell command to execute.<br >Default: ` /bin/bash ` or ` /bin/sh ` |
18- | ` - idletime` | If the connection is idle for more than X seconds, terminate the connection. Setting to ` 0 ` disables.<br >Default: ` 0 ` (disabled) |
19- | ` - maxtime` | Maximum duration of a session.<br >Default: ` 12h ` |
20- | ` - grace` | How long to wait for a connection before we just terminate.<br >Default: ` 30m ` |
21- | ` - insecure` | If you do not have CA Certificates installed, you can bypass SSL verification.<br >Not Recommended in production<br >Default: ` false `
15+ | ` user ` | The GitHub user to pull keys for<br >** Required** |
16+ | ` port ` | The remote port for the SSH server<br >Default: ` 8722 ` |
17+ | ` shell ` | The shell command to execute.<br >Default: ` /bin/bash ` or ` /bin/sh ` |
18+ | ` idletime ` | If the connection is idle for more than X seconds, terminate the connection. Setting to ` 0 ` disables.<br >Default: ` 0 ` (disabled) |
19+ | ` maxtime ` | Maximum duration of a session.<br >Default: ` 12h ` |
20+ | ` grace ` | How long to wait for a connection before we just terminate.<br >Default: ` 30m ` |
21+ | ` insecure ` | If you do not have CA Certificates installed, you can bypass SSL verification.<br >Not Recommended in production<br >Default: ` false `
2222
2323> Note: Any of the arguments can be provided using environment variables by prefixing the flag with ` C87RS_ ` (i.e. ` C87RS_PORT ` )
2424
@@ -46,7 +46,7 @@ This image contains a binary that was built on Alpine Linux. If you are using an
4646
4747In your ` Dockerfile ` :
4848
49- ``` docker
49+ ``` dockerfile
5050FROM anything
5151# ...
5252
@@ -57,12 +57,12 @@ COPY --from=ghrc.io/webdestroya/remote-shell:latest /cloud87 /cloud87
5757Then you can launch the container:
5858
5959```
60- $ docker run --rm - p 8722:8722 myapp:latest /cloud87/bin/remote-shell -user your-github-username
60+ $ docker run -p 8722:8722 myapp:latest /cloud87/bin/remote-shell -user your-github-username
6161```
6262
6363And connect to it on your client:
6464
65- ```
65+ ``` sh
6666ssh -p 8722 \
6767 -o StrictHostKeyChecking=no \
6868 -o " UserKnownHostsFile=/dev/null" \
0 commit comments