Open SSH Problems

caledai

Junior Member
Aug 30, 2004
17
0
0
Hi All.

Have been attempting to get a successful SSH server running on two of my computers.

One is Windows XP SP2, the other is Windows 2000 SP4.

I know someone is going to suggest cygwin, but I have already tried this path. About a year ago I had cygwin successfully running on the XP system mentioned (however the system has been formated since then.)

I looked up the bash history for cygwin and used exactly the same sequence of commands to install the server. The software is installed but the service fails to start.

I then did a search and found another standalone ssh server (OpenSSH for Windows v3.8.1p1-1).

I installed this on the windows 2000 computer, created the groups and passwords as recommended and then proceded to start the server. success. I could start the server, connect to it on localhost, and then connect to it via my dynamic dns. (It is configured in the router with port forwarding.) But when i used putty on the xp computer to connect to it, i get a connection refused message. From within the same network. I also get the same error message on an external network, and using putty on a windows 2000 server on this network.

So I installed the same software on the XP Laptop, and set it up exactly the same way. The service installed, can run and can be connected to. I then used the windows 2000 server mentioned above to test this connection.

Both the two computers running the ssh server, run Zone Alarm, but were tested with the firewalls disabled. Windows firewalls were not active.

I have used ssh extensively from both computers and networks, until the accounts were deleted off the previous server I used at year end 2004.

Basically I have ssh servers on both systems, the xp can't connect to the 2000, but the 2000 can connect to the xp. The xp can connect to other 22h servers though.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Did you change the sshd_config? Is the service really running? Can you connect to it on the IP address (non localhost) of the 2k server _from_ the 2k server? Does port 22 show up as LISTENING in netstat?
 

caledai

Junior Member
Aug 30, 2004
17
0
0
Not at the Win2k SSH at the moment.

However, able to connect via localhost and via the public IP of the router when using a ssh client on the same computer.
Unable to connect when on the 2k server to the win2k box running SSH from external via the Dynamic DNS i have. However, I have confirmed the IP address assigned to that dynamic dns is correct as I was able to access my routers config.

Cannot tell you about the netstat as I am not at home, at work. But attempts to connect via its local ip inside the local network failed. Inside the network it is assigned a fixed ip of 192.168.1.10 to enable the static port forwarding within my router. every thing else is dynamic but with the same network configuration supplied by the router.