Linux Copy Files From remote Machinf to Local using SSH

0
11

Copy From Remote Machine to Local

[user1@localhost ~]$scp root@meabi.com:/root/demo.txt ~/

The authenticity of host ‘meabi.com (125.17.243.254)’ can’t be established.
RSA key fingerprint is af:5b:e1:49:2c:50:b9:f6:80:f6:1e:58:6a:a5:98:5a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘meabi.com’ (RSA) to the list of known hosts.
root@meabi.com’s password:
demo.txt                                                                                                                   100%   20     0.0KB/s   00:00
[user1@localhost ~]$

Copy From Local machine to Remote Machine

[user1@localhost ~]$ scp demo.txt root@meabi.com:/root/ssh1/
root@meabi.com’s password:
[user1@localhost ~]$

LEAVE A REPLY

Please enter your comment!
Please enter your name here