Telnet remote Linux + send files

Remote Login

Syntax: SSH {username} @host_ip | hostname 
Example: SSH root @ ip hostname in
the corresponding host ip and host names / etc / hosts, you need to enter the corresponding account password at login

Remote Transmission

Syntax: SCP [-R & lt] [path]} {username @host_ip | host_name: path 
Example: SCP -R & lt / Home / *      the root IP @: / Home / 
-R & lt: recursive directory, a plurality of multi-level directory or a file transmission 
path : in front of our own file directory, the directory is to send back the 
username: login user name 
ip machines to be sent: host_ip 
hostname: the host name to be sent (/ etc / hosts correspondence)

 Remote server file copy to the local

-r root @ ip scp: / Home / *     / # of Home behind their own local path

 

Guess you like

Origin www.cnblogs.com/jumpkin1122/p/11531338.html