Silence output of scp
This commit is contained in:
parent
b314c3f356
commit
9ca487c437
1 changed files with 1 additions and 1 deletions
2
copy.sh
2
copy.sh
|
|
@ -51,7 +51,7 @@ scp -o StrictHostKeyChecking=accept-new \
|
||||||
-P "${PLUGIN_REMOTE_PORT}" \
|
-P "${PLUGIN_REMOTE_PORT}" \
|
||||||
-i "$HOME"/.ssh/id_dropbear \
|
-i "$HOME"/.ssh/id_dropbear \
|
||||||
"${PLUGIN_FILE}" \
|
"${PLUGIN_FILE}" \
|
||||||
"${PLUGIN_REMOTE_USER}"@"${PLUGIN_REMOTE_HOST}":"${PLUGIN_REMOTE_PATH}"
|
"${PLUGIN_REMOTE_USER}"@"${PLUGIN_REMOTE_HOST}":"${PLUGIN_REMOTE_PATH}" >/dev/null 2>&1
|
||||||
scp_status=$?
|
scp_status=$?
|
||||||
|
|
||||||
rm -r "$HOME"/.ssh
|
rm -r "$HOME"/.ssh
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue