1 Commits
v1.2 ... v1.2.1

Author SHA1 Message Date
wl
28d6168ebf 1. fix mkdir issue 2021-03-31 12:50:09 +08:00

View File

@@ -14,10 +14,7 @@ chmod 600 $TEMP_SSH_PRIVATE_KEY_FILE
echo 'ssh start'
ssh -o StrictHostKeyChecking=no -p $3 -i $TEMP_SSH_PRIVATE_KEY_FILE $1@$2
# create directory if needed
mkdir -p $6
ssh -o StrictHostKeyChecking=no -p $3 -i $TEMP_SSH_PRIVATE_KEY_FILE $1@$2 mkdir -p $6
echo 'sftp start'
# create a temporary file containing sftp commands