Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Launch C:\Cygwin\Cygwin.bat
  2. Download the cygwin-sshd-config.sh script to the following location on the Windows VM:
    C:\Cygwin\home\root\cygwin-sshd-config.sh
  3. Make sure the script is set to executable:
    No Format
    chmod +x /home/root/cygwin-sshd-config.sh
    
  4. Launch C:\Cygwin\Cygwin.bat
  5. Run the script and specify the root account password as an argument, enclose the password in ticks in case special characters are used in the password:
    No Format
    /home/root/cygwin-sshd-config.sh '<PASSWORD>'
    
    Note: the sshd service probably will not start until the next step is completed
  6. Open Start --> Run --> services.msc
  7. Double-click the Cygwin sshd service
  8. Open the Log On tab
  9. Enter the root account password twice and click OK, you should see a message stating root has been granted the Log On As A Service Right
  10. Click the General tab
  11. Click Start

...