Windows – connection to the Bitvise SSH Server

sshwindowswindows-xp

I tested connection using localhost (as it written in documentation) and connection was successful (I got opened terminal and SFTP)

I set port forwarding on the router. I am located inside network. There are no firewalls.

When I connect from different computer I get some problems.
Client even can connect to the SSH server, but connection is immediatly interrupted after it has been established.

It's log:
enter image description here

I can't make up any reason what can be a cause of the problem

Thanks, in advance!

Best Answer

First, if you are using private/public key pairs, check the permissions on the authorized_keys file. The file should only be read/write for the user and in a directory that is read/write/execute by the user only. This should have been an issue durring the localhost test but it is always a good idea to check.

Try to telnet from the client to the port: you should get something like what I get when trying mine
SSH-2.0-OpenSSH_5.8p1 Debian-7ubuntu1
this will show that the ports are correct, open, and the daemon is running.

If you have turned off tunneled passwords (a good idea once you get it running) turn them back on until you can eliminate key issues as the problem.

If you can't get it running, i may need more info:
What port? I see you running on both 33934 and 58302. Which is correct?
Key or Password? Each has its own issues.
What does the log file on the server say? You can set OpenSsh's daemon to log more verbosely. It may be rejecting because of its own issues.
Is the Bitvise key in a format it likes?
Are you trying to SSH as root? This may (should) be turned off also.