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:
Tiago Serafim 2023-08-24 01:27:29 -03:00 committed by GitHub
parent c7890e3e0c
commit 7f2c78d672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -7,6 +7,7 @@ services:
PGID: 1001
TZ: Europe/London
PUBLIC_KEY: $$cap_sshd_public_key
DOCKER_MODS: linuxserver/mods:openssh-server-ssh-tunnel
# USER_PASSWORD: $$cap_sshd_public_key
# - PUBLIC_KEY_FILE=/path/to/file #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 Port Forwarding Rules ** might need to be manually added, see [here](https://github.com/caprover/caprover/issues/960#issuecomment-1027826772)
displayName: SSH Container
isOfficial: true
description: Just a simple container that has sshd installed so you can SSH directly into this container.