💻 Software
Copying remote file to a specified path on local desktop using scp
Fresh7 days ago
Mar 15, 202657905 viewsConfidence Score0%
0%
Problem
I was trying to copy a file from remote server using SCP but its giving the following error. ssh: Could not resolve hostname C: hostname nor servname provided, or not known Its assuming C: as hostname but its just the drive name..Please let me how to specify explicitly like some escaping to get rid…
Error Output
bash-3.2$ scp username@server:main.php C:\main.php
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Copying remote file to a specified path on local desktop using scp
Low Risk
If you are using Cygwin's , you might try using the Cygwin paths: You could also use the and commands included in the PuTTY package – they are native Win32 programs and won't complain about Windows paths. Alternatively, WinSCP is a good SCP/SFTP cli…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix