PC Review


Reply
Thread Tools Rate Thread

Can't figure out why ssh port seems to be blocked

 
 
laredotornado
Guest
Posts: n/a
 
      1st Jul 2011
Hi,

I'm using Win XP SP 2. I just installed CygWin tools with OpenSSH. I
confirmed everything was installed and configured successfully because
I can run

$ ssh localhost

successfully from the Cygwin window. However, when I try to access
the machine by its IP (which I got from running "ipconfnig" in the Run
-> cmd window)

$ ssh 192.168.199.131
ssh_exchange_identification: Connection closed by remote host

I have turned off Windows firewall settings (just to see if this would
work) but I still get the above error. Any ideas how to troubleshoot
this or how I can unblock SSH? Thanks, - Dave
 
Reply With Quote
 
 
 
 
Paul
Guest
Posts: n/a
 
      1st Jul 2011
laredotornado wrote:
> Hi,
>
> I'm using Win XP SP 2. I just installed CygWin tools with OpenSSH. I
> confirmed everything was installed and configured successfully because
> I can run
>
> $ ssh localhost
>
> successfully from the Cygwin window. However, when I try to access
> the machine by its IP (which I got from running "ipconfnig" in the Run
> -> cmd window)
>
> $ ssh 192.168.199.131
> ssh_exchange_identification: Connection closed by remote host
>
> I have turned off Windows firewall settings (just to see if this would
> work) but I still get the above error. Any ideas how to troubleshoot
> this or how I can unblock SSH? Thanks, - Dave


You can use Wireshark for debugging networking problems.

http://en.wikipedia.org/wiki/Wireshark

http://www.wireshark.org/download.html

But on an encrypted connection or session, don't expect
to be able to read the payload contents :-) You may be
able to verify though, whether a packet is arriving or not.
If you run Wireshark on both the client machine and the
server machine, you can see a packet leave one machine,
and the same packet arrive at the other machine.

*******

But before doing that, there is one other thing you could try.

For that to work, SSHD probably has to be running on the hosting machine.
It would be listening on a particular port. If the service isn't running,
that may result in the "Connection closed" thing. There is a picture
here, of a CYGWIN flavored SSHD running. I have no idea whether
this is your problem, but it's worth a check.

http://www.ibm.com/developerworks/li...h/image004.jpg

Just a guess,
Paul
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
port 137,139,445 blocked, still lmb? =?Utf-8?B?MDgxNXVzZXI=?= Windows XP Networking 1 26th Oct 2007 12:21 AM
blocked port Mark Windows XP Networking 2 9th Dec 2003 06:30 PM
Port 80 blocked after SP Sekhar Windows XP Networking 1 18th Aug 2003 08:29 PM
RE: How to figure out which application is listening on TCP port 21 - FTP Service says: Address already in use Marc Reynolds [MSFT] Microsoft Windows 2000 1 29th Jul 2003 05:16 PM
Re: How to figure out which application is listening on TCP port 21 - FTP Service says: Address already in use Ray at Microsoft Windows 2000 0 29th Jul 2003 04:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:29 AM.