Charta Software
Back to the base
E-mail:
New user
Forgot password
Password:
Created by on 2008-02-11 12:15:26
Last modified on 2008-02-11 13:39:08

Setting up an OpenSSH user on Windows Server 2003

To set up a new OpenSSH user on Windows Server 2003, follow these steps:

  1. Make sure there is a user account on the Win2003 server. Also make sure that the user account logged in at least once, so that the home directory has been created.
  2. Create a folder named '.ssh' in the home directory of the new user (C:\Documents and Settings\Username).
  3. Use PuTTYgen to create a new private and public key on your local machine (type SSH-2 DSA). Save the private key as a .ppk file and copy-paste the public key into a new .txt file.
  4. The public key has to be copied into the new .ssh folder in the user's home directory on the Win2003 server.
  5. Create another copy of the file, named 'authorized_keys' (no extension) in the same .ssh directory.
  6. Remove the 'group' and 'passwd' file from the C:\Program Files\OpenSSH\etc folder
  7. On the Win2003 server, go to the command prompt and change the directory to C:\Program Files\OpenSSH\bin
  8. Now, type the following commands:
    mkgroup -l >> ..\etc\group
    mkpasswd -l >> ..\etc\passwd
  9. Open the passwd file with notepad/wordpad and replace all instances of '/home/' with '\documents and settings\'. Then save the file.
  10. Restart the OpenSSH service and check for a successful WinSCP connection.