| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

SetUpSshdOnCygwin

Page history last edited by David B 15 years 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:
      • cygrunsrv --start sshd
  • To stop the sshd service, pop open a cygwin window, type
    • cygrunsrv --stop sshd
  • 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

Comments (0)

You don't have permission to comment on this page.