Merge pull request #622 from kiwix/custom-scp-cipher
Use a scp cipher which goes faster
This commit is contained in:
commit
01eda7a44f
|
@ -225,6 +225,8 @@ def upload(file_to_upload, host, dest_path):
|
||||||
|
|
||||||
command = [
|
command = [
|
||||||
"scp",
|
"scp",
|
||||||
|
"-c",
|
||||||
|
"aes128-ctr",
|
||||||
"-rp",
|
"-rp",
|
||||||
"-P",
|
"-P",
|
||||||
port,
|
port,
|
||||||
|
|
|
@ -9,7 +9,7 @@ tar -czf ${ARCHIVE_NAME} $HOME/BUILD_* $HOME/SOURCE $HOME/LOGS $HOME/TOOLCHAINS
|
||||||
|
|
||||||
echo "Uploading archive $ARCHIVE_NAME"
|
echo "Uploading archive $ARCHIVE_NAME"
|
||||||
|
|
||||||
scp -P 30022 -p -i ${SSH_KEY} \
|
scp -c aes128-ctr -P 30022 -p -i ${SSH_KEY} \
|
||||||
-o PasswordAuthentication=no \
|
-o PasswordAuthentication=no \
|
||||||
-o StrictHostKeyChecking=no \
|
-o StrictHostKeyChecking=no \
|
||||||
$ARCHIVE_NAME \
|
$ARCHIVE_NAME \
|
||||||
|
|
Loading…
Reference in New Issue