Update sshd.yml, enables ssh tunneling by defaul (#981)
Updates a ENV var so that the openssh-server enables by default the ssh tunneling
This commit is contained in:
parent
c7890e3e0c
commit
7f2c78d672
|
|
@ -7,6 +7,7 @@ services:
|
||||||
PGID: 1001
|
PGID: 1001
|
||||||
TZ: Europe/London
|
TZ: Europe/London
|
||||||
PUBLIC_KEY: $$cap_sshd_public_key
|
PUBLIC_KEY: $$cap_sshd_public_key
|
||||||
|
DOCKER_MODS: linuxserver/mods:openssh-server-ssh-tunnel
|
||||||
# USER_PASSWORD: $$cap_sshd_public_key
|
# USER_PASSWORD: $$cap_sshd_public_key
|
||||||
# - PUBLIC_KEY_FILE=/path/to/file #optional
|
# - PUBLIC_KEY_FILE=/path/to/file #optional
|
||||||
# - PUBLIC_KEY_DIR=/path/to/directory/containing/_only_/pubkeys #optional
|
# - PUBLIC_KEY_DIR=/path/to/directory/containing/_only_/pubkeys #optional
|
||||||
|
|
@ -48,8 +49,6 @@ caproverOneClickApp:
|
||||||
|
|
||||||
ssh -i /path/to/private.key $$cap_sshd_username@$$cap_appname.$$cap_root_domain -p $$cap_sshd_port
|
ssh -i /path/to/private.key $$cap_sshd_username@$$cap_appname.$$cap_root_domain -p $$cap_sshd_port
|
||||||
|
|
||||||
|
|
||||||
** SSH Port Forwarding Rules ** might need to be manually added, see [here](https://github.com/caprover/caprover/issues/960#issuecomment-1027826772)
|
|
||||||
displayName: SSH Container
|
displayName: SSH Container
|
||||||
isOfficial: true
|
isOfficial: true
|
||||||
description: Just a simple container that has sshd installed so you can SSH directly into this container.
|
description: Just a simple container that has sshd installed so you can SSH directly into this container.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue