This is really a question about ssh, not about coreutils, so I suggest
bringing this up in an ssh format. That being said, try debugging your
problem with 'sh -xc' instead of plain 'sh -c'. You'll find that the
problem is not with 'cp'.
- bug#23213: cp command with -P option odd behavior over ssh Kousik Mandal
- bug#23213: cp command with -P option odd behavior over ... Paul Eggert
- bug#23213: More observation on cp command option Kousik Mandal
- bug#23213: Fwd: More observation on cp command opti... Kousik Mandal
- bug#23213: More observation on cp command option Paul Eggert
