Tikejhya: Ashish Nepal

Knowledgebase

Category: File Transfer

SCP commandline

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

scp -r tikejhya@hmmm.com:/home/local /home/temp

sftp command line

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

sftp command line

[root@monitor relay]# sftp -oPort=2134 tikejhya@ashishnepal.com:/data/emarsys
Connecting to ashishnepal.com…
tikejhya@ashishnepal.com’s password:
Changing to: /data/mine
sftp>

tar.gz files into remote server

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

tar.gz files into remote server

tar czvf – /file/to_archive | ssh ashish.nepal@ashishnepal.com “cat > /home/ashish.nepal/backup.tar.gz”

Remote File transfer (Remote to Local)

rsync -zarve “ssh -p 21736” root@69.53.222.4:/root/.ssh/* /root/.ssh

structure: [option] port source destination

Rsync File transfer (Without Rsync Daemon)

rsync -rave -p “ssh -i /local/dir/ -l user“ local/dir remote server:/path/to/dest

This can be done without installing Rsync Daemon , which is available with default Centos.

SCP from localhost to remote server

scp -P [here goes port number] -r [recursive ] /home/tikejhya/public_html/db.php root@24.249.254.132:/home/tikejhya/yopohota/

Powered by WordPress & Theme by Anders Norén