Subject: Re: [libssh2] #236: disconnecting libssh2 sessions results in sshd message "inetd[1080]: /usr/sbin/sshd[88807]: exited, status 255"

Re: [libssh2] #236: disconnecting libssh2 sessions results in sshd message "inetd[1080]: /usr/sbin/sshd[88807]: exited, status 255"

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Wed, 25 Apr 2012 05:41:27 -0000

#236: disconnecting libssh2 sessions results in sshd message "inetd[1080]:
/usr/sbin/sshd[88807]: exited, status 255"
---------------------+-------------------
  Reporter: km | Owner:
      Type: defect | Status: new
  Priority: normal | Milestone: 1.4.0
 Component: API | Version: 1.2.7
Resolution: | Keywords:
Blocked By: | Blocks:
---------------------+-------------------

Comment (by stuge):

 Replying to [ticket:236 km]:
> When a libssh2 session is created and normally disconnected by calling:
>
> libssh2_channel_free(channel_);
> libssh2_session_disconnect(session_, "");
> libssh2_session_free(session_);
>
> On the sshd server the following message is observed:
> inetd[1080]: /usr/sbin/sshd[88796]: exited, status 255

 Which of the function calls triggers this warning?

 Remove one at a time from the end, and please report when the warning
 disappears.

 Thanks!

-- 
Ticket URL: <http://trac.libssh2.org/ticket/236#comment:1>
libssh2 <http://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-04-25