Commit 9e7920ff authored by HerrHase's avatar HerrHase

bugfix ssh

parent 33cf950d
...@@ -60,7 +60,7 @@ _download_main() ...@@ -60,7 +60,7 @@ _download_main()
_download_remote_path="${remote_directory}/" _download_remote_path="${remote_directory}/"
fi fi
rsync -avH --include="${_download_filename}*" --exclude="*" -e ssh -p${remote_port} ${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 # let it rain
......
...@@ -60,7 +60,7 @@ _upload_main() ...@@ -60,7 +60,7 @@ _upload_main()
_upload_remote_path=${remote_directory} _upload_remote_path=${remote_directory}
fi fi
rsync -avH --include="${_upload_filename}*" --exclude="*" "${work_directory}/" -e ssh -p${remote_port} ${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 # 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