ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39373] - scp task does not work for some sshd, which does not scp1 protocol.
Date Tue, 25 Apr 2006 00:36:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39373>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39373





------- Additional Comments From riznob@hotmail.com  2006-04-25 00:36 -------
(In reply to comment #11)
> (In reply to comment #10)
> > (In reply to comment #9)
> > > SSH-2.0-3.2.9 F-SECURE SSH 3.2.3
> > 
> > It appears that the ascii codes for the server version string returned by F-
> > Secure is lower case. The following patch to Session.java will address the 
> > issue.
> It is curious.  You had written as in comment #9
> SSH-2.0-3.2.9 F-SECURE SSH 3.2.3
> , which starts with upper case string "SSH-" and the RFC4253[1] says at 
Section 4.2 as follows,
>   4.2.  Protocol Version Exchange
>   
>      When the connection has been established, both sides MUST send an
>      identification string.  This identification string MUST be
>          SSH-protoversion-softwareversion SP comments CR LF
>      Since the protocol being defined in this set of documents is version
>      2.0, the 'protoversion' MUST be "2.0".  The 'comments' string is
>      OPTIONAL.  If the 'comments' string is included, a 'space' character
>      (denoted above as SP, ASCII 32) MUST separate the 'softwareversion'
>      and 'comments' strings. 
> I don't have the reason why it starts with 'ssh-'.
> > The task is still not working however. Now I get the following error...
> > com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: 
invalid data
> > This exception is thrown during the Session.read(buf) method.
> If it really sents 'ssh-', it may not use formal ssh2 protocol, IMHO.
> Anyway, that problem is not related to this topic.
> [1] http://www.ietf.org/rfc/rfc4253.txt

I agree that this is a seperate issue. I would like to work with you to resolve 
it, if possible. I am interested in the enhancements to the scp task and would 
like to see them committed to the Ant project. Should we take this discussion 
to the ant-dev list?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message