Transferring files without ftp or scp

Transferring files without ftp or scp

25

Votes

Run on destination server

nc -l -p 1234 | uncompress -c | tar xvfp -  

Run on sending server

tar cfp - /some/dir | compress -c | nc -w 3 [destination] 1234

Vote Here

You must earn at least 1 vote on your snippets to be allowed to vote

Terms Of Use

Privacy Policy

Featured snippets are MIT license

Gears & Masters

Advertise

DevOpsnipp.com © 2020

medium.png