mirror of
https://git.cloudron.io/cloudron/gitea-app.git
synced 2024-11-26 01:41:01 +00:00
actually disable ssh
This commit is contained in:
parent
2f8df19cfe
commit
934b4cadc7
1 changed files with 1 additions and 1 deletions
2
start.sh
2
start.sh
|
@ -26,7 +26,7 @@ disable_ssh="false"
|
||||||
if [[ -z "${SSH_PORT:-}" ]]; then
|
if [[ -z "${SSH_PORT:-}" ]]; then
|
||||||
echo "SSH disabled"
|
echo "SSH disabled"
|
||||||
SSH_PORT=29418 # arbitrary port to keep sshd happy
|
SSH_PORT=29418 # arbitrary port to keep sshd happy
|
||||||
disable_ssh="false"
|
disable_ssh="true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -e "s/^Port .*/Port ${SSH_PORT}/" \
|
sed -e "s/^Port .*/Port ${SSH_PORT}/" \
|
||||||
|
|
Loading…
Reference in a new issue