Skip to content

Commit

Permalink
changed sshpass cipher type
Browse files Browse the repository at this point in the history
- as type `arcfour` not supported by default in Almalinux8
  • Loading branch information
hurngchunlee committed Aug 24, 2024
1 parent 99190d5 commit 34c2a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamer/bin/meg_copy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ w_total=$( rsync -rpvn --update --rsh="/usr/bin/sshpass -p ${console_pass} ssh -

# perform the rsync and monitor the progress with a while loop: the progress is reported to STDOUT
w_done=0
${mydir}/s-unbuffer rsync -rpv --update --rsh="/usr/bin/sshpass -p ${console_pass} ssh -x -T -c arcfour -o Compression=no -o StrictHostKeyChecking=no -l ${console_user}" \
${mydir}/s-unbuffer rsync -rpv --update --rsh="/usr/bin/sshpass -p ${console_pass} ssh -x -T -c aes128-cbc -o Compression=no -o StrictHostKeyChecking=no -l ${console_user}" \
${console_dir}/ ${local_dir}/ | while read -r line; do
w_done=$(( $w_done + 1 ))
if [ $w_done -ge $w_total ]; then
Expand Down

0 comments on commit 34c2a86

Please sign in to comment.