iopsys-feed/iop/scripts
Andreas Gnau 0078265697 iop: ssh_upgrade: Use ssh instead of scp
Use SSH with a pipe to transfer the file and invoke sysupgrade in one
go. Using SSH instead of SCP gives a higher throughput (not very
noticable for small files like the ones we use for sysupgrade, though),
but using only one command invocation saves a significant overhead of
TCP and SSH connection setup.

The main reason for this change is though that OpenSSH 9.0 and later
use SFTP instead of the scp protocol when using the scp command in an
effort of deprecating the very clunky legacy SCP protocol. One can use
scp -O to continue using scp, but switching to ssh only has other
benefits outlined above.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2022-09-15 16:43:55 +00:00
..
annexconfig.sh
build_branch.sh
cfe_upgrade.sh
compile.sh
extract_core.sh
extract_top.sh
feeds_update.sh
genconfig.sh
genconfig_min.sh
generate_tarballs.sh
install_key.sh
iopupgrade.sh iop: ssh_upgrade: Use ssh instead of scp 2022-09-15 16:43:55 +00:00
licenses_gen.sh
status.sh
taas.sh
update_feed_branches.sh
update_package.sh