I am running freeSSHD on Windows A, and need to transfer file with it by scp. The Windows running freesshd can be connected via ssh client. but neither WinSCP on Windows nor scp on Linux cannot connect to the Windows with freeSSHD. The errors are:
on Linux:
test@workstation:~$ scp -r /home/test/scptest [email protected]:/C:\Users\dejavu\Desktop
[email protected]'s password:
exec request failed on channel 0
lost connection
on windows:
'scp' protocol is selected to transfer file and the port is default 22.
The error is simply host is not communicating for more than 15 seconds. still waiting...
scp
, as many other things, is two-side protocol. It requires scp
to be present on both client and server. When you issue copy command, ssh
connects to given server and spawns scp
process, which your local scp
then communicates with. In your case, there is no scp
on server, so no communication possible.
rsync
behaves in exactly the same way.
I guess in your case you could try sftp
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With