Subject: Re: Newbie networking questions
To: Nigel Reed <nigel@nelgin.nu>
From: David Melton <dmelton@banzuke.com>
List: netbsd-help
Date: 11/20/2001 17:50:13
----- Original Message -----
From: "Nigel Reed" <nigel@nelgin.nu>
To: "David Melton" <dmelton@banzuke.com>
Cc: <netbsd-help@netbsd.org>
Sent: Tuesday, November 20, 2001 4:57 PM
Subject: Re: Newbie networking questions


> On Tue, Nov 20, 2001 at 04:54:21PM -0800, David Melton wrote:
> > I've done the "sshd=YES" thing in rc.conf, and sshd is running. However,
I
> > still can't ssh into the machine from my RedHat or Win2000 systems.  I
took
> > a look at "man sshd" and didn't see anything that was essential to
change
> > from the defaults, so I haven't created an sshd.conf.  Any ideas what
I've
> > messed up?
>
> If you don't have an sshd.conf on your system, I can send you one. Do you
> have any errors in /var/log/messages or anything?

I'd love a headstart toward a good sshd.conf.  Thanks!

Nothing interesting in /var/log/messages.  I'm up to the point where it at
least presents a password dialog.  I get a "Permission denied", but it's
talking to me, which is more than I had before.

> > What's the right way to start ftpd?  I don't see a script for ftpd in
> > /etc/rc.d.  Is there some other way this is supposed to be done?
> ftpd is probably incommented in /etc/inetd.conf - it should be by
> default anyhow. Uncomment it and then give inetd a HUP

Getting better.  Still says "User dmelton may not use FTP", even though
/etc/ftpusers
contains both "dmelton allow" and "* allow".  At least it's running...

> > There may be some cases where I won't be able to use ssh to get to this
> > machine.  Just how unsafe is telnetd on NetBSD?
> As unsecure as any other protocol in which you pass plaintext passwords
> such as ftpd.

Good point.  I may try to set things up so it will only accept telnet
connections
from certain IP ranges.  That way, only one of my co-workers could hack
me...

> > Finally, are there any good NetBSD documentation resources that aren't
> > linked from netbsd.org?  I've been searching around but haven't found
any
> > massively helpful HOWTO resources elsewhere on the web.  I'd love to
have
> > people send me links that will answer my other questions and slap me
around
> > to RTFM.  I'll gladly try to solve my own problems given the
information.
> You should not only look at the documentation but also search the
> many mailing lists, you will probably find most of your answers that
> way.

I took a look at a few months of the netbsd-help list archive, and a couple
of the
others.  I'll keep looking for useful information.

> > Thanks again for your help!
> I don't know if I have been.

Yes, thanks!

- Dave