Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
Larry Hall (Cygwin) - Re: Put sshd in debug mode and survive reboot? https://cygwin.com/ml/cygwin/2014-03/msg00488.html
Mon Jun 26 05:10:28 2017 archive.org
QRCode

You can either alter the parameters of your currently installed server to enable debugging or install another that has the debug parameters. I prefer the latter since that doesn't overwrite the normal sshd service. If you check out '/usr/bin/ssh-host-config', there's a line in there with 'cygrunsrv -I' that you'll want to replicate and modify for your needs if you want to set up a new service. Something like this should work though, assuming you've already run '/usr/bin/ssh-host-config' before to set up the normal sshd service. /usr/bin/cygrunsrv -I sshd -d "CYGWIN sshd_debug" -p /usr/sbin/sshd -a "-D -d -d -d" -y tcpip The service starts automatically. You'll have to manage which one (the normal or the debug) that you want started automatically, depending on you need. You don't want both the debug and normal sshd services to be running at the same time. Keep in mind that the debug service terminates after the first connection ends.

4999 links, including 1905 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn