www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: [libssh2] How to set env vars

Re: [libssh2] How to set env vars

From: Peter Stuge <peter_at_stuge.se>
Date: Fri, 12 Sep 2008 03:33:08 +0200

Paul Thomas wrote:
> How do I enable the ssh server to run in debug mode? The SSH version
> of my server is:
> OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007

Stop the normal sshd running as a service, then run:

/usr/sbin/sshd -ddd

Don't forget to start the service again when you've captured the
debugging messages.

For development it'll help to set up sshd with debugging always
enabled, running on a different port. Use -p for that.


This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
libssh2-devel mailing list
Received on 2008-09-12

the libssh2 team