KpyM Telnet/SSH Server - Forum
Something wrong in SSH |
Nuts_ |
Something wrong in SSH |
Sep 15 2010 08:14 |
|
I tryed to install KpyM Telnet/SSH Server in my 2 Pcs
All was good
but later a have to Uninstall it in one of PC and install
later - and SSH dosnt work by anyway:
1) daemon.exe -rsakey - dont working. It exits with no errors
but there is no rsakey.ky
2)when i copyed rsakey.ky from another (working PC) - there is no SSH connections and exceptions in log
----------------
3448 : 660 2010- 9-15 12: 1:45 875 : 0: EXCEPTION[ 3221225622 ]
3448 : 660 2010- 9-15 12: 1:45 875 : 0: EXCEPTION[ 3221225622 ]
3448 : 660 2010- 9-15 12: 1:45 875 : 0: exception le = 183
--------------------
3132 : 3644 2010- 9-15 12: 1:43 890 : 0: KTS connected to 127.0.0.1:1129
3448 : 660 2010- 9-15 12: 1:44 390 : 0: session.exe started
3448 : 660 2010- 9-15 12: 1:44 562 : 0: connected to 127.0.0.1:1129
3448 : 660 2010- 9-15 12: 1:45 687 : 0: ssh initialized
3448 : 660 2010- 9-15 12: 1:45 875 : 0: EXCEPTION[ 3221225622 ]
3448 : 660 2010- 9-15 12: 1:45 875 : 0: exception
----------------
so i tried to recompile server to debug. All works well on other PC
but i still having my troubles
daemon.exe -rsakey now having exeptions in
---------------
// Generate a key
status = cryptGenerateKey(privKeyContext);
there is no error in status just only exeptions while
HeapFree( and HeapAlocate somewhere in CL32.dll
and replacing of rsakey.ky dos't make my SSH alive
----------------
i have just one idea - smthing wrong in CL32.dll
but i have no idea - why. It was workable
|
Kroum Grigorov |
|
Sep 15 2010 08:44 |
|
Could you drop me an email at support@kpym.com
Kroum
|
Alan |
|
Jan 19 2011 12:47 |
|
Hello Kroum!
I have similar problem - "daemon.exe -rsakey" does not generate rsakey.ky.
KTS version is 1.19a, OS is Windows Server 2003 Ent., SP2.
I installed Cryptlib Spy from cryptlib.sogot.de and it gives the following log:
cryptInit();
Cryptlib CL32.DLL version: 3.3.3
Cryptlib Spy DLL has version: 3400
CAUTION: The versions of the DLL's may be incompatible!
cryptAddRandom(randomData, -301);
cryptCreateContext(&cryptContext, CRYPT_UNUSED, CRYPT_ALGO_RSA);
cryptContext = 351
cryptSetAttributeString(351, CRYPT_CTXINFO_LABEL, value, 7);
cryptSetAttribute(351, CRYPT_CTXINFO_KEYSIZE, 128);
cryptGenerateKey(351);
cryptGetAttribute(0, CRYPT_SESSINFO_SSH_CHANNEL_TYPE, &value);
->function returns errorcode -1 ( = Bad argument, parameter 1 )
value = 2088927872
cryptSetAttribute(0, CRYPT_SESSINFO_SSH_CHANNEL_TYPE, 1);
->function returns errorcode -1 ( = Bad argument, parameter 1 )
cryptDestroySession(0);
->function returns errorcode -1 ( = Bad argument, parameter 1 )
cryptEnd();
->function returns errorcode -23 ( = Operation incomplete/still in progress )
Replacing cl32.dll v.3.3.3 (shipped within KTS) with v.3.4 only removes versions warning.
Can I somehow fix it (install something missing, make some tweaks in config, etc.)?
|
Kroum Grigorov |
|
Jan 19 2011 16:50 |
|
Could you drop me an email at support@kpym.com
Kroum
|
© 2007 - 2008 Kroum Grigorov