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.

//Peter

-------------------------------------------------------------------------
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
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2008-09-12