[ale] 'Nother sshd confiuration question

John Mills johnmills at speakeasy.net
Mon Sep 20 11:05:33 EDT 2004


Hi -

On Sun, 19 Sep 2004, Tejus Parikh wrote:

> On Sun, 2004-09-19 at 09:42, John Mills wrote:
 ...
> > I have some problems configuring 'sshd' (built from 'openssh-3.7.1p2'

> Why this version? It's over a year old, and, IIRC, it had a remote root
> hole.

Thanks for the pointer. I have now upgraded ssh, sshd, and (as it 
happened) zlib.

> Along with the public key in the ~/.ssh directory of the computer you
> are trying to ssh from, you need to have an authorized key on the
> computer you are trying to connect to.  This is from memory, so I may
> have it backwards.  Since I generally ssh from/to a bunch of computers,
> I have both keys in ~/.ssh on each machine.  Make sure the permissions
> to that directory is 600.

I still don't have that working, even locally.

> > and also seem unable to set the 'PermitRootLogin no'
> > so as to prohibit an outsider a directl login as 'root'

This was the important one, and it now works correctly.

> Try sshd -f /path/to/config/file

I've found the proper config file now, thanks, but good to know.

Thanks again for the prompt and effective help I've become spoiled with
from ALE.

 - John Mills
   john.m.mills at alum.mit.edu



More information about the Ale mailing list