linux remote copy command and not a regular file solutions

linux remote copy: scp

 
filename scp root @ remote ip: / path / 
 
Test.tar copy at a local home directory files to a remote host 192.168.1.23 the / home / / adm directory under, the command is: scp /home/test.tar [email protected]: / home / adm / return car enter the password on it 
 
scp scp provides several options after adding the line 
 
    Time reserved -p source files created when copying files. 
    When -q perform file copy, any warning message is displayed. 
    -r copy the entire directory www.2cto.com  
    -V when copying files, a message appears. 

 

 

When under linux scp file transfer error scp: / usr / tools: not a regular file can not be successfully delivered solutions

1: There may not have permission to chmod 777

2: When using scp -r The -r scp  [email protected]: / usr / Tools / XXXX

Guess you like

Origin www.cnblogs.com/qingqing1/p/11368362.html