Saturday, May 23, 2009

Using pscp to transfer file

To transfer file from unix to windows
pscp username@host:./file .\file
or with private key
pscp -i "private_key" username@host:./file .\file

To transfer file from windows to unix
pscp .\file username@host:./file

No comments: