OpenSSH for Windows Configuration Description

The OpenSSH worker is proposed for use on Windows NT-based Operating Systems. It is conceivable to utilize it on Windows 9x/ME frameworks, however that is not upheld. The customer devices will chip away at one or the other stage.


The establishment program is not difficult to utilize. Basically run the arrangement program and answer the prompts.


The means to making appropriate gathering and passwd documents is illustrated underneath. To add nearby gatherings to the gathering record, you utilize the – l switch, for space gatherings, utilize the – d switch:

mkgroup – l >>..\etc\group nearby gatherings

mkgroup – d >>..\etc\group area gatherings

On the off chance that you utilize the two orders, the gathering record will contain copies. You should eliminate these by hand in a content tool.

You will presently have to make a passwd document. Any clients in the passwd document will actually want to sign on with SSH. Consequently, it is suggested that you add clients separately with the Рu switch. To include SSH Client clients a framework or area, do not utilize the Рu switch. As with mkgroup, neighborhood clients are demonstrated with the Рl switch and area clients are shown by the Рd switch. To add area clients from a space that is not the essential area of the machine, add the space name after the client name:

mkpasswd – l [-u ] >>..\etc\passwd add username to passwd – nearby client

mkpasswd – d [-u ] >>..\etc\passwd add username to passwd – space client

The passwd and gathering documents are plain content and can be altered in Vim, Notepad or any word processor. Vim is suggested on the grounds that it regards the default arrangement of the documents.

The last two sections for every client are protected to alter by hand, and can be redone to suit your necessities. The second to last passage /home/username can be supplanted with some other catalog to go about as that client’s home registry what index they will be in after they sign in.

The/home Directory

In the passwd record, you will see that the client’s home registry is set as/home/username, with username being the name of the record. In the default introduce, the/home index is set to the default profile registry for all clients. This is typically C:\Documents and Settings on Windows 2000 and XP, and C:\WINNT\Profiles on Windows NT 4.0. The area of/home can be altered to accommodate your unique necessities by altering a library key.

To change the Windows index/home relates to, you should alter a library section under HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home. The estimation of the key named local is the catalog that/home is. In the event that you need every one of your clients to enter in a registry on your machine called F:\Users, change local to understand F:\Users. As a matter of course, every client will at that point be put in the registry F:\Users\username, where username is the name of the client account. To put the client straightforwardly under f:\Users, change the home registry in passwd to/home.