ssh client revision added some helper scripts and changed to alpine
All checks were successful
/ build-docker-image (push) Successful in 50s
All checks were successful
/ build-docker-image (push) Successful in 50s
This commit is contained in:
11
docker/app/scripts/remote-connect
Executable file
11
docker/app/scripts/remote-connect
Executable file
@@ -0,0 +1,11 @@
|
||||
#/bin/bash
|
||||
source /app/scripts/loadenv
|
||||
#echo "Received: $@"
|
||||
#echo "Trace: Connecting with: ${SSH_COMMAND[@]}" "$@"
|
||||
|
||||
# converts command to array
|
||||
read -r -a SSH_COMMAND_ARRAY <<< "$SSH_COMMAND"
|
||||
|
||||
#echo "Running: ${SSH_COMMAND_ARRAY[@]} $@"
|
||||
# executes ssh command with all arguments received from caller
|
||||
"${SSH_COMMAND_ARRAY[@]}" "$@"
|
||||
Reference in New Issue
Block a user