KpyM Telnet/SSH Server - Forum
Server 2008 R2 SSH Service problem?
Matthew Server 2008 R2 SSH Service problem?
 
I have been using your software for a while now for its sftp features. I have been running it on Windows Server 2008 R2 x64 using AD authentication and it has worked fine. I am now trying to move it to another server [Windows Server 2008 R2 x64 also]. It installs and the service runs, but the SSH has some sort of problem. From putty on the local machine or over the network I get the following error:

"Server unexpectedly closed network connection"

The log is below also.

2456 : 2520 2010- 9- 1 20: 4:23 862 : 0: daemon.exe started

2456 : 1412 2010- 9- 1 20: 4:23 878 : 0: starting service

2456 : 1412 2010- 9- 1 20: 4:42 52 : 0: KTS connected to 127.0.0.1:49420

2396 : 3036 2010- 9- 1 20: 4:42 270 : 0: session.exe started

2396 : 3036 2010- 9- 1 20: 4:42 426 : 0: connected to 127.0.0.1:49420

2396 : 3036 2010- 9- 1 20: 4:43 518 : 0: cryptKeysetOpen = -43

2396 : 3036 2010- 9- 1 20: 4:43 518 : 0: this->ssh.Init( ):err

2396 : 3036 2010- 9- 1 20: 4:43 518 : 0: ssh initialized

2396 : 3036 2010- 9- 1 20: 4:43 768 : 0: can't read login

2396 : 1940 2010- 9- 1 20: 4:43 784 : 0: session.exe end

2456 : 2520 2010- 9- 1 20: 5: 7 168 : 0: stopping service

1028 : 1032 2010- 9- 1 20: 7:24 720 : 0: daemon.exe started

1028 : 1092 2010- 9- 1 20: 7:24 735 : 0: starting service

1028 : 1092 2010- 9- 1 20:58:25 580 : 0: KTS connected to 10.1.70.157:8463

1636 : 860 2010- 9- 1 20:58:27 249 : 0: session.exe started

1636 : 860 2010- 9- 1 20:58:27 499 : 0: connected to 10.1.70.157:8463

1636 : 860 2010- 9- 1 20:58:28 591 : 0: cryptKeysetOpen = -43

1636 : 860 2010- 9- 1 20:58:28 591 : 0: this->ssh.Init( ):err

1636 : 860 2010- 9- 1 20:58:28 591 : 0: ssh initialized

1636 : 860 2010- 9- 1 20:58:28 856 : 0: can't read login

1636 : 1604 2010- 9- 1 20:58:28 856 : 0: session.exe end


What could the problem here be?


Kroum Grigorov
 
According ti the log the problem is cryptKeysetOpen = -43
The -43 error indcates that cryptlib fails when tries to open your private key file.
I can recommend you to download the KTS latest version and make a fresh install, then without making any changes to the config files try to connect to the KpyM service again.

Kroum


Matthew
 
I have tried this with no success. I have also performed a clean install of the server operating system, then installed kpym and still get the same error. Is there a dependency I should be aware of here?

- Matthew


 

© 2007 - 2008 Kroum Grigorov
Powered by phpBB © 2001, 2005 phpBB Group