J2SSH

"Frederik De Muyter" <[email protected]>
Newsgroups gmane.comp.java.sshtools.user
Message-ID <[email protected]>
Dear,

 

I'm ussing the J2SSH API and try to run one of the examples
Portforwarding.java. The client program is running on Windows XP, Java
j2sdk1.4.2_09 and 

I have include the commons.logging.jar.  When i connect the my ssh
server I am prompted for the server host key validation.

 

            "Message do you want to allow this hostkey" 

 

As the server is correct I want to allow it.  When I type in Yes I get
the following error.

 

21-sep-2005 11:18:18
com.sshtools.j2ssh.transport.TransportProtocolClient verify HostKey

INFO: The host key signature is invalid

 

Can you help me with this problem.  I have also tried
IgnoreHostKeyVerification, but I get the same error then.

 

Kind regards

 

 

Frederik De Muyter

Belgium

 

P.S I'm using ssh server package SSH-2.0-Sun_SSH_1.0
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.