diff --git a/entrypoint.sh b/entrypoint.sh index ae14b0d..c8d507e 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -14,7 +14,7 @@ chmod 600 $TEMP_SSH_PRIVATE_KEY_FILE echo 'ssh start' # create directory if needed -ssh -o StrictHostKeyChecking=no -i $TEMP_SSH_PRIVATE_KEY_FILE $1@$2 mkdir -p $5 +ssh -o StrictHostKeyChecking=no -p $3 -i $TEMP_SSH_PRIVATE_KEY_FILE $1@$2 mkdir -p $5 echo 'sftp start' # create a temporary file containing sftp commands