Removing sshd dæmon in Cygwin

Disabling the Cygwin SSH server means you will need an alternative means of control, whether physical presence or TeamViewer etc. Don’t do this for a remote PC before you know the alternative remote control method will work!

Disable Cygwin Windows SSH server by:

  1. open Cygwin using “Run As Administrator”:

    cygrunsrv -E sshd
    
    cygrunsrv -R sshd
  2. reboot and verify that you CANNOT connect to your former SSH server. You won’t see CYGWIN sshd in services.msc anymore, either.