|
SetUpSshdOnCygwin
Page history
last edited
by David B 15 years, 11 months ago
How to set up sshd on cygwin:
- Install openssh package
- Install cygrunsrv package
- Then, at a bash prompt:
- Right click My Computer, Properties, Advanced, Environment Variables
- See this illustration (red dots).
- Click the "New" button to add a new entry to system variables:
- variable name is CYGWIN
- variable value is ntsec tty
- Right click My Computer, Properties, Advanced, Environment Variables
- See this illustration (green dots).
- Select the Path variable and click the "Edit" button:
- append ;c:\cygwin\bin to the end of the variable string.
- Open a cygwin window (by double clicking the icon), a black screen pops open, type
- ssh-host-config -y
- This script will setup sshd as a Windows service,
- when the script stops and asks you "CYGWIN=",
- your answer should be ntsec tty
- While you are still in the (black) cygwin screen, start the sshd service:
- To stop the sshd service, pop open a cygwin window, type
- On the server, in Zone Alarm, set sshd to fully trusted and pass-lock
- sshd service must be set to "Manual". Then, add a shortcut to startup which runs "cygrunsrv --start sshd". sshd has to start AFTER Zone Alarm in order to work.
- On the client, in Zone Alarm, set ssh to fully trusted and pass-lock
SetUpSshdOnCygwin
|
Tip: To turn text into a link, highlight the text, then click on a page or file from the list above.
|
|
|
Comments (0)
You don't have permission to comment on this page.