Hi all,
I'm having a problem getting Jsch to work with mixed DSA and RSA keys. I
have no problems when both the user and host key are the same (RSA or DSA)
but when I mix them I get errors.
I found this in the mail archive:
http://www.mail-archive.com/[email protected]/msg00497.html
Hi,
+-From: Jim B <[email protected]> ---------------
|_Date: Wed, 25 Mar 2009 23:56:03 +0000 (UTC) __
|
|By default JSch is set to
| config.put("server_host_key", "ssh-rsa,ssh-dss");
|I'm operating under the assumption that JSch will try rsa and
|if that fails then try dss. Is this assumption correct?
It is not correct.
If the remote sshd supports "ssh-rsa", "ssh-rsa" will be usend.
If not, "ssh-dss" will be.
Does that mean its a one or the other approach? Is it possible to configure
Jsch so that it can use amixture of both key types?
Thanks,
Brad.
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users