View Single Post
  #2   (View Single Post)  
Old 25th March 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

That's a workable solution. Consider adding -N to close the pipes. You can also use X.509 certificates and TLS with nc(1) so that the file can be encrypted/decrypted in flight instead of being staged through a cipher utility like openssl(1). But that's similar to sftp(1) or scp(1) in network throughput.
Reply With Quote