Re: Moving forward with J2SSH 0.2.7

David Kocher <[email protected]>
Newsgroups gmane.comp.java.sshtools.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lee,
	Have you released a patch for the issue with SSH1 keys in the  
known_hosts file causing a NegativeArraySizeException? If not, could  
you give me a hint what the problem is and where I have to look to fix  
the problem?

Thanks
- -dk

On Dec 8, 2003, at 6:40 PM, Lee D. Painter wrote:

> Yes I'm already on the case! :)
>
>> -----Original Message-----
>> From: David Kocher [mailto:[email protected]]
>> Sent: 08 December 2003 17:28
>> To: Lee D. Painter
>> Cc: [email protected]
>> Subject: Re: [Sshtools-users] Moving forward with J2SSH 0.2.7
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Lee,
>>
>> 	You're right. The coincidence was, that I just connected to a
> host
>>
>> with SSH1 before updating to the new j2ssh version. That's why I had a
>>
>> SSH1 key in my known_hosts.
>>
>> Additionally it doesn't matter at all if using 0.2.5 or 0.2.7, as the
>>
>> exception occurs in both versions. Is there already a fix planned?
>>
>>
>>
>> Thanks for keeping up the great work!
>>
>> - --David
>>
>>
>>
>> [ANN] Cyberduck 2.1 which uses J2SSH 0.2.5 has been released today :)
>>
>>
>>
>> On Dec 8, 2003, at 5:29 PM, Lee D. Painter wrote:
>>
>>
>>
>>> David,
>>
>>>
>>
>>> Have you got any SSH1 public keys in your known_hosts file? I
> noticed
>>
>>> today, after the release :(  that known_hosts files created by J2SSH
>>
>>> Maverick, which supports SSH1 were causing this error.
>>
>>>
>>
>>> Lee
>>
>>>
>>
>>>> -----Original Message-----
>>
>>>> From: David Kocher [mailto:[email protected]]
>>
>>>> Sent: 08 December 2003 15:22
>>
>>>> To: Lee D. Painter
>>
>>>> Subject: Re: [Sshtools-users] Moving forward with J2SSH 0.2.7
>>
>>>>
>>
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>
>>>> Hash: SHA1
>>
>>>>
>>
>>>> Hi All,
>>
>>>>
>>
>>>> 	I updated my project with the new library without any changes
>>
>>> and
>>
>>>> get
>>
>>>>
>>
>>>> the following exception.
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> 2003-12-08 16:18:51.192 Cyberduck[4722] Exception raised during
>>
>>> posting
>>
>>>>
>>
>>>> of notification.  Ignored.  exception:
>>
>>>>
>>
>>>> java/lang/NegativeArraySizeException
>>
>>>>
>>
>>>> Stack Trace:
>>
>>>>
>>
>>>> java.lang.NegativeArraySizeException
>>
>>>>
>>
>>>> 	at com.sshtools.j2ssh.io.ByteArrayReader.readString(Unknown
>>
>>> Source)
>>
>>>>
>>
>>>> 	at
>>
>>>>
>>
>>>>
>>
>>>
> com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory.decodePublicKe
>>
>>> y
>>
>>>>
>>
>>>> (Unknown Source)
>>
>>>>
>>
>>>> 	at
>>
>>>>
>>
>>>>
>>
>>>
> com.sshtools.j2ssh.transport.AbstractKnownHostsKeyVerification.<init>(U
>>
>>> n
>>
>>>>
>>
>>>> known Source)
>>
>>>>
>>
>>>> 	at
>>
>>>>
>>
>>>>
>>
>>>
> ch.cyberduck.ui.cocoa.CDHostKeyController.<init>(CDHostKeyController.ja
>>
>>> v
>>
>>>>
>>
>>>> a:45)
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> It worked like a charm with 0.2.5.
>>
>>>>
>>
>>>> Thanks for any suggestions
>>
>>>>
>>
>>>> - --David
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> On Dec 8, 2003, at 3:30 PM, Lee D. Painter wrote:
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>> Hi All,
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> We have just released J2SSH 0.2.7 on our sourceforge download
> page.
>>
>>>>
>>
>>>>> This
>>
>>>>
>>
>>>>> release is a maintenance release which supercedes the problematic
>>
>>> 0.2.6
>>
>>>>
>>
>>>>> version. To achieve this we rolled back to 0.2.5 and re-introduced
>>
>>> some
>>
>>>>
>>
>>>>> of the changes made in 0.2.6. I have also removed the deprecated
> tag
>>
>>>>
>>
>>>>> for
>>
>>>>
>>
>>>>> the openSftpChannel methods for the benefit of all those that
>>
>>> requested
>>
>>>>
>>
>>>>> it.
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> As some of you may be aware I have been v.busy working on the
> J2SSH
>>
>>>>
>>
>>>>> Maverick API which is now in its final beta stages. We have
>>
>>> evaluated
>>
>>>>
>>
>>>>> our business position and the various licensing options and for
>>
>>> simple
>>
>>>>
>>
>>>>> economic reasons we will not be open sourcing the new API in the
>>
>>> near
>>
>>>>
>>
>>>>> future. Our aims moving forward are to maintain the current open
>>
>>> source
>>
>>>>
>>
>>>>> J2SSH release and to provide support for J2SSH through our
> community
>>
>>>>
>>
>>>>> forums whilst offering the new Maverick API as a commercial
>>
>>>>
>>
>>>>> alternative.
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> Regards
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> Lee David Painter
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>>
>>
>>>
> ***********************************************************************
>>
>>>>
>>
>>>>> ******************
>>
>>>>
>>
>>>>> This e-mail and any attachment is for authorised use by the
> intended
>>
>>>>
>>
>>>>> recipient(s) only.
>>
>>>>
>>
>>>>> It may contain proprietary material, confidential information
> and/or
>>
>>>>
>>
>>>>> be subject to legal
>>
>>>>
>>
>>>>> privilege.  It should not be copied, disclosed to, retained or
> used
>>
>>>>
>>
>>>>> by, any other party.
>>
>>>>
>>
>>>>> If you are not an intended recipient then please promptly delete
>>
>>> this
>>
>>>>
>>
>>>>> e-mail and any
>>
>>>>
>>
>>>>> attachment and all copies and inform the sender.  Thank you.
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> -------------------------------------------------------
>>
>>>>
>>
>>>>> This SF.net email is sponsored by: IBM Linux Tutorials.
>>
>>>>
>>
>>>>> Become an expert in LINUX or just sharpen your skills.  Sign up
> for
>>
>>>>
>>
>>>>> IBM's
>>
>>>>
>>
>>>>> Free Linux Tutorials.  Learn everything from the bash shell to sys
>>
>>>>
>>
>>>>> admin.
>>
>>>>
>>
>>>>> Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
>>
>>>>
>>
>>>>> _______________________________________________
>>
>>>>
>>
>>>>> Sshtools-users mailing list
>>
>>>>
>>
>>>>> [email protected]
>>
>>>>
>>
>>>>> https://lists.sourceforge.net/lists/listinfo/sshtools-users
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>> -----BEGIN PGP SIGNATURE-----
>>
>>>> Version: GnuPG v1.2.3 (Darwin)
>>
>>>>
>>
>>>> iD8DBQE/1JcpdBH4SdTFvT4RAq65AJ9euy/Cf4cRXRtovxf1dgFy/MO1bQCfSHo+
>>
>>>> N10Du0h0p7tmIDj65JCTBNo=
>>
>>>> =3QBS
>>
>>>> -----END PGP SIGNATURE-----
>>
>>>
>>
>>>
>>
>>>
> ***********************************************************************
>>
>>> ******************
>>
>>> This e-mail and any attachment is for authorised use by the intended
>>
>>> recipient(s) only.
>>
>>> It may contain proprietary material, confidential information and/or
>>
>>> be subject to legal
>>
>>> privilege.  It should not be copied, disclosed to, retained or used
>>
>>> by, any other party.
>>
>>> If you are not an intended recipient then please promptly delete
> this
>>
>>> e-mail and any
>>
>>> attachment and all copies and inform the sender.  Thank you.
>>
>>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.2.3 (Darwin)
>>
>> iD8DBQE/1LSHdBH4SdTFvT4RAnM2AJ0VSSlDdJNGGUQhE/AA3v9q6PSOmACgitcs
>> JC+Z2vs53wJq8T2mAakO4zY=
>> =hQua
>> -----END PGP SIGNATURE-----
>
>
> *********************************************************************** 
> ******************
> This e-mail and any attachment is for authorised use by the intended  
> recipient(s) only.
> It may contain proprietary material, confidential information and/or  
> be subject to legal
> privilege.  It should not be copied, disclosed to, retained or used  
> by, any other party.
> If you are not an intended recipient then please promptly delete this  
> e-mail and any
> attachment and all copies and inform the sender.  Thank you.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for  
> IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys  
> admin.
> Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
> _______________________________________________
> Sshtools-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sshtools-users
>
>
- ---
Subscribe to the Cyberduck-news mailing list to get a notification when  
a new version is released.
 > http://lists.cyberduck.ch/mailman/listinfo/cyberduck-news
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFAuKdGdBH4SdTFvT4RAlSAAJ9ZaDkioS4CqHOueCFPgqkpOkAlJQCfUSNd
o2PgEakBE/uctAdhBht3TWI=
=1S48
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.