Merge pull request #622 from kiwix/custom-scp-cipher

Use a scp cipher which goes faster
This commit is contained in:
Kelson 2023-05-22 19:57:20 +03:00 committed by GitHub
commit 01eda7a44f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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,

View File

@ -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 \