You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Rob Vesse <rv...@dotnetrdf.org> on 2014/10/30 22:04:54 UTC

OpenSSH integration

Hey All

Is anyone integrating SSHD with OpenSSH, specifically I would like to do the
following:

* Use the local ~/.ssh folder as a source of public keys for authenticating
incoming connections
* Use the public key from the ~/.ssh folder as the host key
I found a gist (https://gist.github.com/jdennaho/5492130) which mostly
solves the first one (though only copes with RSA keys) but I wondered if
anyone else was doing anything else similar and had more robust solutions

Thanks,

Rob



Re: OpenSSH integration

Posted by Guillaume Nodet <gn...@apache.org>.
If you look at the main SshClient code, you'll see the main() method will
do exactly that:
https://github.com/apache/mina-sshd/blob/master/sshd-core/src/main/java/org/apache/sshd/SshClient.java#L443

2014-10-30 22:04 GMT+01:00 Rob Vesse <rv...@dotnetrdf.org>:

> Hey All
>
> Is anyone integrating SSHD with OpenSSH, specifically I would like to do
> the
> following:
>
> * Use the local ~/.ssh folder as a source of public keys for authenticating
> incoming connections
> * Use the public key from the ~/.ssh folder as the host key
> I found a gist (https://gist.github.com/jdennaho/5492130) which mostly
> solves the first one (though only copes with RSA keys) but I wondered if
> anyone else was doing anything else similar and had more robust solutions
>
> Thanks,
>
> Rob
>
>
>