From owner-freebsd-questions Sat Aug 11 15:54:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f74.law4.hotmail.com [216.33.149.74]) by hub.freebsd.org (Postfix) with ESMTP id 74FAC37B409 for ; Sat, 11 Aug 2001 15:54:33 -0700 (PDT) (envelope-from ggenovez@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 11 Aug 2001 15:54:33 -0700 Received: from 12.98.82.12 by lw4fd.law4.hotmail.msn.com with HTTP; Sat, 11 Aug 2001 22:54:33 GMT X-Originating-IP: [12.98.82.12] From: "George Genovezos" To: rdls@satamatics.com Cc: dkelly@hiwaay.net, freebsd-questions@freebsd.org Subject: Re: ipfw & firewall. Date: Sat, 11 Aug 2001 22:54:33 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 11 Aug 2001 22:54:33.0287 (UTC) FILETIME=[963B2570:01C122B8] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yeah I tought of this. I changed the PermitRootLogin yes and I added root in sshd_config under AllowUsers >From: Richard Smith >To: George Genovezos >CC: dkelly@hiwaay.net, freebsd-questions@freebsd.org >Subject: Re: ipfw & firewall. >Date: Sat, 11 Aug 2001 22:54:23 +0100 > >On Sat, Aug 11, 2001 at 06:18:11AM +0000, George Genovezos wrote: > > Ok here is the latest & greatest out put > > ipfw -at l > > 00100 4 160 Fri Aug 10 23:11:40 2001 allow ip from any to any via >fxp0 > > 00200 0 0 allow tcp from any to any out >xmit > > fxp0 > > setup > > 00400 0 0 allow tcp from any 22 to any out > > setup > > 00500 1 44 Fri Aug 10 23:10:46 2001 allow tcp from any to any 22 in > > setup > > 00600 27 2242 Fri Aug 10 23:10:46 2001 allow ip from any to any via lo0 > > 65435 0 0 deny log logamount 100 ip from >any > > to any > > 65535 155 7708 Fri Aug 10 23:03:53 2001 deny ip from any to any > > > > now when I ssh to my box I get: > > > > ssh -v localhost > > SSH Version OpenSSH_2.3.0 green@FreeBSD.org 20010321, protocol versions > > 1.5/2.0.Compiled with SSL (0x0090600f). > > debug: Reading configuration data /etc/ssh/ssh_config > > debug: ssh_connect: getuid 0 geteuid 0 anon 0 > >Looks like you're trying to log in as root. /etc/ssh/sshd_config denies >this by default. > > > > debug: Connecting to localhost [::1] port 22. > > debug: Allocated local port 863. > > debug: connect: Connection refused > > debug: Connecting to localhost [127.0.0.1] port 22. > > debug: Allocated local port 862. > > debug: Connection established. > > debug: Remote protocol version 1.99, remote software version >OpenSSH_2.3.0 > > green@FreeBSD.org 20010321 > > debug: match: OpenSSH_2.3.0 green@FreeBSD.org 20010321 pat >^OpenSSH[-_]2\.3 > > > > debug: Local version string SSH-1.5-OpenSSH_2.3.0 green@FreeBSD.org >20010321 > > debug: Waiting for server public key. > > debug: Received server public key (768 bits) and host key (1024 bits). > > debug: Forcing accepting of host key for loopback/localhost. > > debug: Encryption type: 3des > > debug: Sent encrypted session key. > > debug: Installing crc compensation attack detector. > > debug: Received encrypted confirmation. > > Permission denied. > > debug: Calling cleanup 0x805c528(0x0) > > > > Any hints? clues? Ideas? > > > > Firewall issue or ssh? > > > > DNS apears to be working without any entries. Anything I need to be > > concerned about? > > > > By the way Gary I got your messages and responded back to you I don't >know > > if you got my message. > > > > Thx Everybuddy. > > > > G > > >-- >Richard Smith >Network Systems Director >Satamatics Ltd >Green Lane, Tewkesbury, GL20 8HD, United Kingdom >Tel: +44 1684 278610 >Fax: +44 1684 278611 > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message