Re: ssh
Hjalmar the Destroyer wrote:
> On Fri, Jul 08, 2005 at 12:56:35AM +0300, Modestas Vainius wrote:
>> 2005 m. Liepos 8 d., Penktadienis 00:52, Hjalmar the Destroyer ra??:
>> > OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004
>> > debug1: Reading configuration data /etc/ssh/ssh_config
>> > debug1: Connecting to computer2 [192.168.1.2] port 22.
>> > debug1: connect to address 192.168.1.2 port 22: Connection refused
>> > ssh: connect to host computer2 port 22: Connection refused
>> I guess, sshd (ssh server) is not enabled on computer2. try
>>
>> dpkg-reconfigure ssh
>>
>> and answer "Yes" to the question about the server.
>>
> Hey,
> 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.
>
>
Try "iptables -L -n".
What does it say??
Reply to:
- Follow-Ups:
- Re: ssh
- From: Hjalmar the Destroyer <bytor1@lsn.se>
- References:
- ssh
- From: Hjalmar the Destroyer <bytor1@lsn.se>
- Re: ssh
- From: Modestas Vainius <geromanas@mailas.com>
- Re: ssh
- From: Hjalmar the Destroyer <bytor1@lsn.se>