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 DirectorI 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