Transfer files to Remote server using SCP commands


Pulling files from server to local machine

1. Cd /home/manoj/workingdir
2. scp -r username@198.168.0.138:/var/www
3. password :*******

-r Recursively copy entire directories

Transfer file from local machine to server

1. Cd /home/manoj/workingdir

2. scp filename.php username@198.168.0.138:/var/www
3. password :*******





Comments

Popular posts from this blog

Bluetooth Data Transfer Example

How to Create & Extract tar.gz and tar.bz2 Files in Linux