Setting up SSH on a Windows server

I'm new to SSH (secure shell). I just installed OpenSSH on one of our machines, which is on its own subnet not connected to the subnet of our LAN. I want to create a group and password using the mkgroup and mkpasswd commands. I also want to create users so files can be shared between the SSH server and the SSH client. How do I add a new user to the SSH server using these commands?

    Requires Free Membership to View

    When you register, my team of editors will also send you resources covering Linux administration and management; integration and interoperability between Linux, Windows and Unix; securing Linux and mixed-platform environments; and migrating to Linux.

    Cathleen A. Gagne, Senior Editorial Director

    By submitting your registration information to SearchEnterpriseLinux.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchEnterpriseLinux.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

I am assuming by your use of the mkgroup and mkpasswd commands that you are doing this on a Windows platform using Cygwin (or possibly on AIX). Rather than tell you step-by-step, I recommend one of these excellent how-to's:

For Windows XP:

How to install OpenSSH sshd server and sftp server on a Windows 2000 or Windows XP

For Windows 2003 Server:

Installing OpenSSH for Windows 2003 Server

or

How to setup the secure shell daemon on a Windows 2003 server

Hope that helps.

This was first published in October 2007