[NBLUG/talk] Root and SSH questions..

E Frank Ball frankb at efball.com
Thu Sep 18 09:58:00 PDT 2003


On Wed, Sep 17, 2003 at 06:19:54PM -0700, Steve Johnson wrote:
} E Frank Ball wrote:
} >On Wed, Sep 17, 2003 at 03:44:55PM -0700, Steve Johnson wrote:
} 
} >I'd go ahead and allow root login via ssh, but turn off passwords:
} >
} ># To disable tunneled clear text passwords, change to no here!
} >PasswordAuthentication no
} >
} >And only allow ssh key pairs for logging in.
} >
} 
} Can you disable passwords on a per user basis?  I have a few users that 
} use my box as a shell server (People I trust) but last time I tried to 
} make it ssh keys only they couldnt figure out how to get in haha.

If the user only logs in remotely, then you can replace his password in
the /etc/passwd file with !!.

I don't know how to configure ssh to do it.

-- 

   E Frank Ball                frankb at efball.com



More information about the talk mailing list