Re: Disable SSH passwords per user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ted
Date: Monday, January 4, 2010 - 5:56 pm

On Tue, Jan 5, 2010 at 11:32 AM, Eugene Yunak <e.yunak@gmail.com> wrote:


I've read the man page a number of times, and didn't see that. The
closest thing was is "AllowUsers", but this is for enabling and
disabling logins per user, not limiting a user to SSH Key logins only.

But after reading ssh_config manpage, and I note that one can set
"PasswordAuthentication no" in a per-user configuration file
~/.ssh/config
The problem with this is the manpage states "this file must have
strict permissions: read/write for the user, and not accessible by
others".
This means the user can edit this after logging in, and remove or
change the PasswordAuthentication variable.

--
Ted
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Disable SSH passwords per user, Ted, (Mon Jan 4, 5:18 pm)
Re: Disable SSH passwords per user, Eugene Yunak, (Mon Jan 4, 5:32 pm)
Re: Disable SSH passwords per user, Nicholas Marriott, (Mon Jan 4, 5:35 pm)
Re: Disable SSH passwords per user, Ted, (Mon Jan 4, 5:56 pm)
Re: Disable SSH passwords per user, Ted, (Mon Jan 4, 6:03 pm)
Re: Disable SSH passwords per user, Lars Nooden, (Tue Jan 5, 10:44 am)