We need more information to further troubleshoot the problem. Please give us
the following information:
(1) What happens when you connect to the ssh port on the Solaris machine from
Windows XP using the "telnet" command? If SSH is running on port 22 on the
Solaris server and the IP address of the Solaris server is 192.168.1.2, then
you can connect to it from Windows XP by going to the MS-DOS prompt ( [start]
-> run -> cmd ) and then typing in this command at the C:\> DOS prompt:
telnet 192.168.1.2 22
If SSH is working correctly then you should see something that looks like this
very distinctive SSH banner in your telnet window:
SSH-2.0-Sun_SSH_1.2
If you're having firewall issues or tcp wrapper issues then you will probably
see nothing or eventually see a message that says:
Connection closed by foreign host.
(2) What happens when you login to the Solaris machine locally and type in this
command:
telnet localhost 22
Do you see the "SSH-2.0-Sun_SSH_1.2" banner? Do you see something else instead?
(3) Are you using tcp wrappers? To give us more information, we need you to
post the content of the /etc/hosts.allow and the /etc/hosts.deny files from the
Solaris machine in this thread. If these files don't exist, then we need to
know that as well.
(4) Is windows firewall turned on on the Windows machine? To see if it is
turned on type in this command at the MS-DOS prompt:
netsh firewall show opmode
and copy and paste the results of that command in this thread.
(5) Is ipfilter or some other kind of firewall running on the Solaris machine?
Type in this command:
svcs -a | grep ipfilter
at the Solaris command line and copy and paste the output in this thread.
(6) Run this command at the Solaris command line:
netstat -na | grep -i listen | grep -v 127
and copy and paste the results in this thread.
(7) Can you install Wireshark on both the Windows XP and the OpenSolaris box
and see what the TCP network traffic is that is going on between the two
computers? If you don't know what Wireshark is, please refer to this link:
http://en.wikipedia.org/wiki/Wireshark
You can install Wireshark on Solaris or OpenSolaris very easily from blastwave.
It's the main utility I use for troubleshooting network problems besides snoop
and tcpdump.
--
This message posted from opensolaris.org