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 <[email protected]>: > 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 > > >
