Windows has freeSSHd installed. Logging in with ssh from Ubuntu 14.04 LTS via SSH using Windows Login credentials works fine. Logging in with SFTP also works fine.

This test is being run from a virtual machine in VirtualBox to the host running Windows 7 Professional.

Trying various combinations of (port is 2222):

scp -v -P 2222 xxxxxx@ .

fails with

Next authentication method: password
xxxxx@'s password:
debug1: Authentication succeeded (password).
Authenticated to ([]:2222).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending command: scp -v -f at.exe
exec request failed on channel 0
  • I read the suggested comment a while ago but after lots of research it made more sense to me. Thanks for pointing me back there. I have finally settled for Cygwin for my SSH / SCP on Windows as my solution. – Jim May 10 '14 at 21:57

You should open SFTP in freesshd user tab.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.