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:
+-From: Jim B <el2...@...> ---------------
|_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?
+-From: Brad <jsch@...> ------
|_Date: Fri, 5 Nov 2010 14:05:59 +0000 __
|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.
What kind of problem do you have?
Can you show how to reproduce that errors?
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Get latest updates about Open Source Projects, Conferences and News.