[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh



On 7/8/05, Hjalmar the Destroyer <bytor1@lsn.se> wrote:
> I am still having some problems with ssh. I am running the ssh server. When
> I use nmap localhost on computer2 I get
> 
> Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-07-08 19:11 CEST
> Interesting ports on localhost.localdomain (127.0.0.1 ):
> (The 1661 ports scanned but not shown below are in state: closed)
> PORT   STATE SERVICE
> 22/tcp open  ssh
> 25/tcp open  smtp
> 
> Nmap finished: 1 IP address (1 host up) scanned in 0.159 seconds
> 
> When I run nmap from my server on computer2 I get the following
> 
> Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-07-08 19:13 CEST
> All 1663 scanned ports on computer2 (192.168.1.2 ) are: closed
> 
> Nmap finished: 1 IP address (1 host up) scanned in 0.429 seconds
> 
> How can this be? Any help or tips would be greatly appreciated.

Did you check with netstat to which addresses the smtp and ssh server
are actually bound? Do you have a firewall (ok, nmap should've noticed
that, but good to check anyways)?

~David



Reply to: