Secure file transfer thru scp in Mac and Linux

If you do not have SFTP, you might wan to consider using SCP for secure file transfer. SCP (means secure copy) means secure file transfer thru secure shell (SSH) channel. Thru ssh channel, data packet will be transfer in encrypted form and this will secure your file transfer process.
Below is the scp example for secure file transfer under Mac and Linux:-
SCP Command example:-
$ scp -P port_no /from/location/filename.tar.gz /to/location/filename.tar.gz
For example, now i wan to transfer abc.zip from my desktop to my server (IP: 88.88.88.88, ssh port: 22) under username ‘myremoteuser’:-
$ scp -P 22 /home/mydesktop/abc.zip myremoteuser@88.88.88.88:/home/myuser/abc.zip
For Windows user, you may try out WinSCP for secure file transfer.
Tags: scp command, scp secure file transfer, secure file transfer, secure file transfer mac linux
Posted at December 28th, 2008 by chua
If you think this article helps you to solve your problem and clear your headache, feel free to buy me a drink :)



October 13th, 2009 at 7:54 am
amazing, this is really helped me alot,
thanks man,