Hi,
I am trying to embed the SSHD server in my application for that I am using
jython. I have created server with SshServer.setUpDefaultServer() and
implemented PcublicKeyAuthenticator.
class PKintImpl(PublicKeyAuthenticator):
def authenticate(username, key, session):
return True
I have defined the "authenticate" function by returning True.
The server started successfully when I am trying to connect with cygwin
client I am getting message "Permission denied(pulickey)"
in server logs I am getting "Authentication Failed: null" message I have
implemented the interface PasswordAuthenticator in the same manner. With the
PasswordAuthenticator I am successfully logged in.
can somebody give me a right directions that how can I use implement
PublickeyAuthenticator in my app.
Thanks,
Wolvee