Skip to main content
edited tags
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 266

I would like to copy files in an remote server from one directory (in the remote server) to another (also in the same remote server). I tried this:

scp -r [email protected]:/folder_a/*myfiles* ../folder_b 

This did no give any error message, but it did not work. I also tried this:

scp -r [email protected]:/folder_a/*myfiles* [email protected]:/folder_b 

which gave an error message:

Permission denied, please try again. 

Permission denied, please try again again. 

Received disconnect from <server_id>: 2: Too many authentication failures for myacc lost connection

How to copy files within a same server from one directory to another?

I would like to copy files in an remote server from one directory (in the remote server) to another (also in the same remote server). I tried this:

scp -r [email protected]:/folder_a/*myfiles* ../folder_b 

This did no give any error message, but it did not work. I also tried this:

scp -r [email protected]:/folder_a/*myfiles* [email protected]:/folder_b 

which gave an error message:

Permission denied, please try again. Permission denied, please try again. Received disconnect from <server_id>: 2: Too many authentication failures for myacc lost connection

How to copy files within a same server from one directory to another?

I would like to copy files in an remote server from one directory (in the remote server) to another (also in the same remote server). I tried this:

scp -r [email protected]:/folder_a/*myfiles* ../folder_b 

This did no give any error message, but it did not work. I also tried this:

scp -r [email protected]:/folder_a/*myfiles* [email protected]:/folder_b 

which gave an error message:

Permission denied, please try again. 

Permission denied, please try again. 

Received disconnect from <server_id>: 2: Too many authentication failures for myacc lost connection

How to copy files within a same server from one directory to another?

Source Link
jrara
  • 2.1k
  • 9
  • 23
  • 20

How to copy files within a remote server?

I would like to copy files in an remote server from one directory (in the remote server) to another (also in the same remote server). I tried this:

scp -r [email protected]:/folder_a/*myfiles* ../folder_b 

This did no give any error message, but it did not work. I also tried this:

scp -r [email protected]:/folder_a/*myfiles* [email protected]:/folder_b 

which gave an error message:

Permission denied, please try again. Permission denied, please try again. Received disconnect from <server_id>: 2: Too many authentication failures for myacc lost connection

How to copy files within a same server from one directory to another?