Merge pull request #8 from stan-chen/fix-ssh-port

mkdir cannot connect non 22 port
pull/17/head 1.1
wl 2020-11-26 09:15:07 +08:00 committed by GitHub
commit cf8d9e5b50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ chmod 600 $TEMP_SSH_PRIVATE_KEY_FILE
echo 'ssh start' echo 'ssh start'
# create directory if needed # 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' echo 'sftp start'
# create a temporary file containing sftp commands # create a temporary file containing sftp commands