Deploy: added PermitLocalCommand=no to SSH command
I'm using a LocalCommand invocation to change the terminal colours when I SSH into a production server; this shouldn't be done by the deploy script.
This commit is contained in:
@@ -27,7 +27,7 @@ CELERY_WORKER_DOCKER_NAME="celery_worker"
|
||||
CELERY_BEAT_DOCKER_NAME="celery_beat"
|
||||
REMOTE_ROOT="/data/git/${PROJECT_NAME}"
|
||||
|
||||
SSH="ssh -o ClearAllForwardings=yes ${DEPLOYHOST}"
|
||||
SSH="ssh -o ClearAllForwardings=yes -o PermitLocalCommand=no ${DEPLOYHOST}"
|
||||
|
||||
# macOS does not support readlink -f, so we use greadlink instead
|
||||
if [[ `uname` == 'Darwin' ]]; then
|
||||
|
Reference in New Issue
Block a user