Error writing to log file

Krishna Garimella krish@collation.net
16 Dec 2002 12:07:57 -0800


This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_majestix.eng.collation.net-800-1040069280-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

I get the following error when I run the
RunRemoteCommand2 example.

========
<The expected output of the command>

Followed by ...


ERROR: Couldn't write to log
** SSH2Transport.transportTransmitLoop() : 'stopping'

ERROR: Couldn't write to log
** SSH2Channel : 'closing ch. #0 (session)'

ERROR: Couldn't write to log
** SSH2Transport.transportReceiveLoop() : 'stopping'

=============

The log file specified in the example is created with
correct permissions and seems to be logging correctly.
I've attached the log file created ...

--=_majestix.eng.collation.net-800-1040069280-0001-2
Content-Type: text/plain; name="ssh2out.log"; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=ssh2out.log

** SSH2Transport : 'peer's version is 'SSH-1.99-OpenSSH_3.4p1''
** SSH2Transport.transportReceiveLoop() : 'starting'
** SSH2Transport : 'peer kex algorithms: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1'
** SSH2Transport : 'peer host key algorithms: ssh-dss,ssh-rsa'
** SSH2Transport : 'peer enc. alg. cli2srv: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se'
** SSH2Transport : 'peer enc. alg. srv2cli: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se'
** SSH2Transport : 'peer mac alg. cli2srv: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96'
** SSH2Transport : 'peer mac alg. srv2cli: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96'
** SSH2Transport : 'peer comp. alg. cli2srv: none,zlib'
** SSH2Transport : 'peer comp. alg. srv2cli: none,zlib'
** SSH2Transport : 'our kex algorithms: diffie-hellman-group1-sha1'
** SSH2Transport : 'our host key algorithms: ssh-dss,ssh-rsa'
** SSH2Transport : 'our enc. alg. cli2srv: blowfish-cbc'
** SSH2Transport : 'our enc. alg. srv2cli: blowfish-cbc'
** SSH2Transport : 'our mac alg. cli2srv: hmac-md5,hmac-sha1'
** SSH2Transport : 'our mac alg. srv2cli: hmac-md5,hmac-sha1'
** SSH2Transport : 'our comp. alg. cli2srv: none'
** SSH2Transport : 'our comp. alg. srv2cli: none'
** SSH2Transport : 'KEX algorithm chosen: diffie-hellman-group1-sha1'
** SSH2Transport : 'same KEX guessed? false'
** SSH2Transport : 'first KEX follows? false'
** SSH2Transport.transportTransmitLoop() : 'starting'
** SSH2Transport : 'server's signature verified'
** SSH2Transport : 'new transmitter context (blowfish-cbc,hmac-md5,none)'
** SSH2Transport : 'new receiver context (blowfish-cbc,hmac-md5,none)'
** SSH2UserAuth : 'server accepted: ssh-userauth'
** SSH2UserAuth : 'banner: ############################   WARNING  ###################################
#                                                                         #
#  This system is for the use of authorized users only.                   #
#  Individuals using this computer system are subject to having           #
#  their activities on this system monitored and recorded                 #
#  by system personnel.  Unauthorized attempts to access this system      #
#  may subject you to a fine and/or imprisonment in accordance with       #
#  United States Title 18, USC, Section 1030.                             # 
#                                                                         # 
#  Anyone using this system expressly consents to such monitoring and is  #
#  advised that if such monitoring reveals possible evidence of criminal  #
#  activity, system personnel may provide the evidence of such monitoring # 
#  to law enforcement officials.                                          #
#                                                                         # 
#                                                                         # 
###########################################################################
'
** SSH2UserAuth : 'failure continuation: publickey,password,keyboard-interactive (partial: false)'
** SSH2UserAuth : 'our remaining methods: password'
** SSH2UserAuth : 'trying method: password'
** SSH2UserAuth : 'successful authentication with password'
** SSH2Channel : 'open confirmation, ch. #0, init-winsz = 0, max-pktsz = 8192'
** SSH2StreamChannel : 'starting ch. #0 (session) transmitter'
** SSH2StreamChannel : 'starting ch. #0 (session) receiver'
** SSH2SessionChannel : 'session (ch. #0) exit with status 0'
** SSH2StreamChannel : 'exiting ch. #0 (session) receiver, 66 bytes rx'
** SSH2StreamChannel : 'exiting ch. #0 (session) transmitter, 0 bytes tx'
** SSH2Transport : 'disconnect: User disconnects'
** SSH2Transport.transportTransmitLoop() : 'stopping'

--=_majestix.eng.collation.net-800-1040069280-0001-2--