KpyM Telnet/SSH Server - Forum
pubkey authentication not working |
Michael Weiser |
pubkey authentication not working |
Feb 02 2011 16:25 |
|
Hi there,
I'm running KpyM 1.19c and am trying to set up publickey authentication. I've configured the server as per directions, but as soon as I provide an SSH id to my ssh client (which is OpenSSH in various version) I only get:
Received disconnect from 192.168.1.1: 10:
The server logs:
3788 : 3808 2011- 2- 2 17:11:27 860 : 0: can't read login
After raising the trace level for session.exe I see:
3060 : 2740 2011- 2- 2 17:22:18 457 : 0: ssh not initialised 1. disconnecting-41
The offending bit of code therefore seems to be:
// server client handshake
this->status = cryptSetAttribute( this->cryptSession, CRYPT_SESSINFO_ACTIVE, 1 );
if( status != CRYPT_ENVELOPE_RESOURCE )
{
ktrace( "ssh not initialised 1. disconnecting" << status );
return false;
}
in KSsh.hxx.
Password based login works fine, though.
Any help with this would be greatly appreciated.
--
Thanks,
Micha
|
manus |
|
Jun 04 2012 14:51 |
|
Same error for me.
Unable to use publickey.
|
© 2007 - 2008 Kroum Grigorov