Date: Sat, 11 Aug 2001 22:54:33 +0000 From: "George Genovezos" <ggenovez@hotmail.com> To: rdls@satamatics.com Cc: dkelly@hiwaay.net, freebsd-questions@freebsd.org Subject: Re: ipfw & firewall. Message-ID: <F74kjbZpLdnoHW8Tf1I00006e5a@hotmail.com>
next in thread | raw e-mail | index | archive | help
Yeah I tought of this. I changed the PermitRootLogin yes and I added root in sshd_config under AllowUsers >From: Richard Smith <rdls@satamatics.com> >To: George Genovezos <ggenovez@hotmail.com> >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F74kjbZpLdnoHW8Tf1I00006e5a>