Demo SSH server problem

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
ollig
Posts: 3
Joined: Wed 23 Jun 2010 06:08
Contact:

Demo SSH server problem

Post by ollig » Wed 23 Jun 2010 06:23

Hi, i'm Olli Garbini.
We are trying to make SSH Client - Server, but i found some problems during implementation:

1. I install SSHServerService but it always stop when i started with the message"...Some service stop automatically if they have no work to do...".
2. Then i try another demos, SSHServer.exe and SSH Client. I start the server with user & password, SSH port = 22. Then i run SSH Client with
SSH port=22 & SSH dest = 23. The error message "Socket error on connecting. WSAGetLastError return 10061($274D)".

Do you have any idea how to solve this problems?

Thanks for attention

Olli Garbini

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 23 Jun 2010 13:41

Please use the SimpleSSHServer demo.
Check that "Port for listening" is set to 22.
Start SSH server by pressing the "Start server" button.
If no error arises, try to run SSH Client.

ollig
Posts: 3
Joined: Wed 23 Jun 2010 06:08
Contact:

Post by ollig » Thu 24 Jun 2010 09:50

I try to use Simple SSH server demo and SSHClient. I got the error message "The authenticity ofserver can not be verified" then Authentication failed.
Then i try using Putty as SSH Client and i also receive error message "The server's host key doesn't match...".

Do you have any suggestion

Thanks

Olli garbini

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 24 Jun 2010 10:07

To connect use Username "test" and Password "test". Or you can create new user on SSH server and use it.

ollig
Posts: 3
Joined: Wed 23 Jun 2010 06:08
Contact:

Post by ollig » Thu 24 Jun 2010 11:33

I have already tried as your suggestion but the error message "Authentication failed" appear.
Then i debug the source code and i got the error message "socket closed, can not receive data".

What is your suggestion?

Thanks

Olli Garbini

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 24 Jun 2010 14:40

Please try to change Port on the server and client (for example to 25). Also add a new user to SSH server and use it on the client.

Post Reply