Tuesday, November 12, 2013

How to make secure file transfer from remote host to your local host

                                                                                                                   step 1
                                                                                          scp  /root/Desktop/filename.png  root@192.168.1.2:root/Desktop

step 2 
connect over ssh to your server or remote host

step 3
change directory to  file you need 
cd /Documents/

step 4
if ssh not enabled  or disconnected 
use command on your local host 
(or enable ssh)
service ssh restart
192.168.8.21

step 5



scp lastrec root@192.168.1.2:/root/Desktop/datab
(don't forget use    sudo)

step 6
om my local host 192.168.1.2


step 7

on my remote server  192.168.1.21
 the end.


you have to be connected over ssh to remote host
 and  in your case possibly
scp  /home/john/file you want to   username@192.168.1.13:/home/adam/Desktop
                     

No comments:

Post a Comment

wordpress problem with plugin updates

                                                           changing permissions will solve the problem                                    ...