- A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.
- A collection of tools which provide Linux look and feel.
Installation :
1. Download the cygwin openssh installer from http://www.cygwin.com
2. Start the insttalation process
3. Select default "Install from Internet" option and click Next.
Select options "All users" & "Unix/binary" as shown below.
5. Specify the path to download the binaries.
Here it is "C:\Documents and Settings\Administrator\Desktop"
6. Specify the internet setting as shown below.
7. Select mirror site to download the binaries nearest to your location.
8. Installation Setup :)
9. select the openssh packages as shown below and othe required packages from list.
11. Installation is over. Click Ok to finish the installation.
12. Double click the cygwin icon on the desktop & execute the following commands.
13. Right click My Computer, Properties, Advanced, Environment Variables. Select the Path variable and click the "Edit" button:
append ;c:\cygwin\bin to the end of the existing variable string.
Add a variable as “cygwin” with values “ntsec tty”
14. Run ssh-host-config
When the script asks you about "privilege separation", answer yes
When the script asks about "create local user sshd", answer yes
When the script asks you about "install sshd as a service", answer yes
When the script stops and asks you for "CYGWIN=" your answer is ntsec tty
15. start the sshd service
net start sshd
or
cygrunsrv --start sshd
16. Make sure every Windows user has a password set, if not, go to Control Panel....User Accounts and create a password
17. Harmonize Windows user information with cygwin, otherwise they cannot login
mkpasswd -cl > /etc/passwd
mkgroup --local > /etc/group
18. Connect to the host using WinSCP or Putty.
No comments:
Post a Comment