Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We set up an Amazon EC2 instance and managed to WinSCP into it by setting up WinSSHD on the server.

As WinSSHD is commercial, we were looking for a free alternative and opted to try OpenSSH, which I have always heard good things about.

After installing Cygwin with OpenSSH and starting up OpenSSH from the Cygwin console, I attempted to WinSCP into the server from my computer, and got access to /root that contains files like Cygwin.bat and such.

I was wondering if I had done something wrong during the setup, or if I have to change the sshd_config file for it to work.

Thank you very much in advance.

share|improve this question
up vote 0 down vote accepted

You haven't setup a standard user. As such, you're connecting with root. Consider adding a regular user and specifying that users login credentials when connecting.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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