New answers tagged scp
Update 01-April-2015- I faced the same issue today and this happened even after adding the host address entries (explained below) so I believe that change didn't resolve the issue yesterday. Further investigated and found out found out that, stopping all other services like Samba, Apache, MySQL and did the trick. The connection didn't terminate and I was ...
Bring the mountain to mohammed? ssh user@remote "sudo scp -r user@local:/path/to/files /opt/bin" It seems like that is a whole lot of privilege with nary a password to be seen, which would make me nervous.
No, not with -r or any other syntax that performs multiple file transfers within one scp command. That said, scp also follows the UNIX paradigm: write programs that provide simple, precise functionality that can be chained together in interesting ways. This means it would be possible to write a loop that interactively performs individual invocations of the ...
Top 50 recent answers are included