Monday, December 13, 2010

SCP command to transfer files using putty or shell

transfer the files from user localhost machine to remote server

$scp -r /home/myfolder/* root@remote server ip:/root/myfolder

if remote server running on different port

$scp -r -P remoteserverportnumer /home/myfolder/* root@remote server ip:/root/myfolder

No comments: