Sunday, June 15, 2014

SCP file TO and FROM remote server

1) To copy the files from remote server to local machine
>> scp user@from-host:source-file local-destination-folder

from-host :-> Hostname from where we want to copy the files
source-file  :-> File that we want to copy
local-destination-folder :-> Local folder where we want to copy the files


2) To copy files from local server to remote server
>> scp source-file user@to-host:remote-destination-folder

source-file :-> File that we want to copy
to-host :-> Hostname where we want to copy the files
remote-destination-folder :-> Exact folder on remote machine where you want to copy the files

3) To copy the folder.
>> scp -r 

-r :-> This Parameter is to copy the folder.

No comments:

Post a Comment

Password Protected Solr Admin Page

As we all know Solr Admin Page is not password protected and anyone can get into Solr Admin Page. However this article will ...