Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.