Archive for June, 2010

resumed scp file transfer

Friday, June 4th, 2010

simple resumed scp file transfer

rsync –partial –progress –rsh=’ssh’ root@192.168.1.1:/home/manada/very_big_file.blah .

this command will copy file /home/manada/very_big_file.blah from host 192.168.1.1 to current directory.

resumed scp file transfer with different port

rsync –partial –progress –rsh=’ssh -p 37772 ‘ root@192.168.1.1:/home/manada/very_big_file.blah .

this command will copy file /home/manada/very_big_file.blah from host 192.168.1.1 to current directory using non standard tcp port 37772 where ssh daemon on 192.168.1.1 listening to.