this case I used because, in my computer have bad connection directly to server but so good on local intranet, honestly it little bit nasty because it was use for download torrent then sync complete download to my computer. LOL
okay go head. this command I run on my computer which is use Lubuntu.
rsync -avhP -e "ssh -p port_number" root@ipaddress or host:/source/location_file /Destination/on_your_computer
most important things is -e which use to choice protocol to ssh and use option -p because that my ssh server port doesn't use port number 22.
reference
http://oreilly.com/pub/h/38
Tidak ada komentar:
Posting Komentar