Le lun. 30 juil. 2018 à 20:51, Michael Brodskiy <[email protected]>
a écrit :

> Hello,
>
> My name is Michael Brodskiy. I have question regarding library
> configuration. Could you please help me with lib configuration.
> I have to implement custom SSH server with following functionality:
>
>    1. authorization by public key that will be fetch from DB. Each time
>    when server receives connection first i have to fetch this public key
> from
>    DB by the user.
>

You just need to implement your own org.apache.sshd.server.auth.pubkey.
PublickeyAuthenticator and register it on the ServerBuilder using the
publickeyAuthenticator() method.


>    2. Ability to forward port
>

See https://github.com/apache/mina-sshd#port-forwarding


>
> Thank you in advance!
>
> Best regards,
> Michael
>


-- 
------------------------
Guillaume Nodet

Reply via email to