TokenHash
asked on
copying via SSH using Cygwin
Syntax for command line to copy a directory from a RED HAT server which I have SSH access too.
I have Cygwin installed on a Windows pc and want to copy a directory from a linux pc via SSH to the local windows D drive. can anyone help with the syntax required
I have Cygwin installed on a Windows pc and want to copy a directory from a linux pc via SSH to the local windows D drive. can anyone help with the syntax required
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Tintin:
> The scp syntax for cygwin is identical to using scp on any other Linux or Unix system.
...
> scp user@redhat.server:/path/t o/file .
If you read the original question clearly. He wants to copy "directories" not "files". This is not I've succested command line scp.
> The scp syntax for cygwin is identical to using scp on any other Linux or Unix system.
...
> scp user@redhat.server:/path/t
If you read the original question clearly. He wants to copy "directories" not "files". This is not I've succested command line scp.
OK.
scp -r user@redhat.server:/path/t o/dir .
scp -r user@redhat.server:/path/t
TinTin: Recusrive copying with scp cause problems with scp. This is why I suggested rsync and WinSCP instead.
Thanks
Thanks
What type of problems? I've never encountered any problems using cygwin scp to a Unix/Linux box.
cd D:
scp user@redhat.server:/path/t