Skip to content

Commit

Permalink
Merge pull request #8 from stan-chen/fix-ssh-port
Browse files Browse the repository at this point in the history
mkdir cannot connect non 22 port
  • Loading branch information
wlixcc authored Nov 26, 2020
2 parents b2206dc + 6ff9f12 commit cf8d9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf8d9e5

Please sign in to comment.