Net Start SSHD HELPMSG 3534

I am trying to setup Git on a Windows box and so far all appears to be working … except this:

net start sshd gets the error NETHELPSMG 3534

  • Git - Authentication failed
  • Cygwin SVN: E200030: SQLite disk I/O error
  • Why git under cygwin asks for password?
  • interactive git rebase failed with “git-rebase-todo: No such file or directory”
  • Github/Cygwin error: cygheap base mismatch detected
  • Updating file permissions with git-bash on Windows 7
  • When I type

    cygrunsrv --start sshd I get QueryServiceStatus: Win32 error 1062

    Any ideas how to fix this?

  • Subversion checkout from a GitHub repository which contains symlinks
  • What is the gitignore equivalent of “one or more occurrence”?
  • Git Commit message pretty format: Is there a way to format multi-line body
  • Is it possible to merge disjoint Git repos that were imported from the same CVS source?
  • How to make a branch from the commit previous to a merge?
  • How do I tell git to always select my local version for conflicted merges on a specific file?
  • One Solution collect form web for “Net Start SSHD HELPMSG 3534”

    You can find here the steps taken to solve this issue under cygwin:

    • Look at /var/log/sshd.log:
      /var/empty must be owned by root and not group or world-writable.

    • Adjust mode of /var/empty and attempt to start sshd:

    $ chmod 700 /var/empty
    
    • Change owner of /var/empty:
    20080217-144416 Administrator <at> a64x23800p /var
    $ chown root empty/
    chown: invalid user: `root'
    
    • root is not a valid user name. Make an educated guess and try again:
    20080217-151048 Administrator <at> a64x23800p /var
    $ chown SYSTEM empty
    
    20080217-151056 Administrator <at> a64x23800p /var
    $ ll -d empty/
    drwx------+ 2 SYSTEM None 0 Feb 17 14:30 empty//
    

    Then:

    20080217-151108 Administrator <at> a64x23800p /var
    $ net start sshd
    The CYGWIN sshd service is starting.
    The CYGWIN sshd service was started successfully.
    

    Regarding the 1062 error, it reports that the windows service has not been started.

    $ cygrunsrv --start sshd
    cygrunsrv: Error starting a service: QueryServiceStatus: Win32
    error 1062:
    The service has not been started.
    
    ..
    
    $ net start sshd
    The CYGWIN sshd service is starting.
    The CYGWIN sshd service could not be started. # only if the previous section was not solved
    

    Note: be aware that:

    • some anti-virus might interfere with that service.
      See this thread.
    • older version of cygwin1.dll might also interfere with the process.
      See that thread.
    Git Baby is a git and github fan, let's start git clone.