In my case the files were flat text. I connect using SSH, cat the file and store it in a variable, then echo it to the new file at the destination host.
file=$(ssh -i keyfile user@host -p port "cat file/i/want")
echo "$file" > /target/destination/file.txt
:(
Thanks for clarifying.
I don't want to stop upgrading but at the same time it's quite a nuisance not being able to get the files from the router.
I'll try to think of alternatives.
EDIT: Found an alternative :)
hello everyone!
My router AC68U recently performed the automatic firmware update.
Everything seemed normal, as in I didn't notice any changes, until I couldn't use SCP.
I still have a router in older version 3.0.0.4.386_45987-gb8fc0b6 and in this one the /usr/bin/scp is a link to...