Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated link for downloading cygwin-sshd-config.sh

...

  • Launch the Cygwin shortcut on the desktop

    Note

    If running a newer version of Windows which includes User Account Control (UAC), be sure to either disable UAC and reboot before launching the Cygwin shortcut or right-click the Cygwin shortcut and select Run as Administrator


  • Download cygwin-sshd-config.sh using wget to root's Cygwin home directory on the Windows computer:
    C:\Cygwin\home\root\cygwin-sshd-config.sh

    Tip

    wget httphttps://svnraw.apachegithubusercontent.orgcom/reposapache/asf/vcl/trunkmaster/managementnode/bin/cygwin-sshd-config.sh


  • Set the script to be executable:

    Tip

    chmod +x cygwin-sshd-config.sh


  • Fix Cygwin 1.7 issue:

    Tip

    sed -i -e 's/^ssh-host-config.*/ssh-host-config -y -c "nodosfilewarning ntsec" -w "$PASSWORD"/' cygwin-sshd-config.sh


  • Run the script and specify the root account password as an argument, enclose the password in single quotes in case special characters are used in the password:

    Tip

    ./cygwin-sshd-config.sh 'PASSWORD'

    • If asked to enter a new user name, enter root
    • If asked to enter a password, enter the password set for the Windows root user. This is the same password entered as the cygwin-sshd-config.sh argument.
    • You should see something similar to the following towards then end of the script output:

      Panel

      The CYGWIN sshd service was started successfully.


...