How to copy files and folders remotely
in ubuntu
To copy the files and folders in ubuntu
or in redhat first of all intsall the ssh packages for remote
terminal login
for ubuntu
#apt-get -y install openssh-server
openssh-client
for redhat
#yum install openssh-server
openssh-client
if you want to get the files or folder
in ubuntu and redhat
#scp -r root@remoteip:/remotepath
/localpath
here it will get the copy from other
remote system
if you would like to send the local
copy to other means
#scp -r /localpath
root@remoteip:/remotepath
here it will send the copy of local
file to the remote system
No comments:
Post a Comment