Windows Configuration Description
Posted in Computers & Technology on April 28th, 2011 by admin – Be the first to commentOpenSSH server is designed for use on Windows NT-based operating system. You can use it on Windows 9x/ME systems, but it is not supported. Client tools will work on any platform.
Installation
————————
The installation program is easy to use. Just run the installer and answer the queries.
Configuration
————————
Steps to create your own group and password files below. To add a local group to group files that you use the-L switch for domain groups, use the switch-D:
mkgroup-L>> .. \ Etc \ Group (local groups)
mkgroup-D>> .. \ Etc \ Group (domain groups)
When using both teams, the group file will contain duplicates. You will need to remove them manually in a text editor.
Now you must create the password file. Any user in the password file can log in with SSH. For this reason, we recommend that you add a user individually with a key-U. To add all users of the system or domain, do not use the switch-U. How mkgroup, local users are listed with the L-Switch and domain users are given D-switch. To add a domain user from a domain that is not the main area of the machine, add the domain name after name:
mkpasswd-L [and]>> .. \ ETC \ password (user name, to add a password – a local user)
mkpasswd-D [u]>> .. \ ETC \ password (user name, to add a password – the user domain)
Password and group files, plain text and can be edited in Vim, Notepad or any text editor. Vim is recommended because it respects the default file format.
The last two entries for each user is safe to edit by hand, and can be customized to suit your needs. The second last record (/ home / username) can be replaced by any other directory as home directory for this user (that directory, they will be after login).
/ Home directory
————————
In the password file, you will notice that the user’s home directory is set in / home / username, the username is the name of the account. With a default installation, / home directory is set to the default folder for all users. This is usually C: \ Documents and Settings on Windows 2000 and XP, and C: \ WINNT \ Profiles on Windows NT 4.0. Location / houses can be modified to meet your special requirements by editing the registry.
To change the folder Windows / home matches, you need to change a registry entry under HKEY_LOCAL_MACHINE \ SOFTWARE \ Cygnus Solutions \ Cygwin \ mounts v2 \ / home. Value key named “home” is the directory / home. If you want all users to log into a directory on your computer is called F: \ Users, change the “native” on the F: \ Users. By default, each user will be placed in the directory F: \ Users \ user name, user name, where the user account name. To put the user directly under the F: \ Users, change your password in your home directory to / home.
Start OpenSSH server
————————
NET START opensshd
The test server. Using a separate machine as the client, the better. When connected, but the connection is lost immediately, reboot the server and try to connect again
Usage and Important Notes
————————
Remember that CYGWIN OpenSSH utilities are not graphical and command-line based. Look for PuTTY, SSH Secure Shell, etc. for the graphics configuration. For more advanced ways to use the program, see the manual pages in the documentation directory.
read more »