Commit 33cf950d authored by HerrHase's avatar HerrHase

bugfix ssh

parent 6f3369c3
......@@ -60,7 +60,7 @@ _download_main()
_download_remote_path="${remote_directory}/"
fi
rsync -avH --include="${_download_filename}*" --exclude="*" ${remote_username}@${remote_host}:${_download_remote_path} "${work_directory}"
rsync -avH --include="${_download_filename}*" --exclude="*" -e ssh -p${remote_port} ${remote_username}@${remote_host}:${_download_remote_path} "${work_directory}"
}
# let it rain
......
......@@ -60,7 +60,7 @@ _upload_main()
_upload_remote_path=${remote_directory}
fi
rsync -avH --include="${_upload_filename}*" --exclude="*" "${work_directory}/" ${remote_username}@${remote_host}:${_upload_remote_path}
rsync -avH --include="${_upload_filename}*" --exclude="*" "${work_directory}/" -e ssh -p${remote_port} ${remote_username}@${remote_host}:${_upload_remote_path}
}
# let it rain
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment