Disable SSH passwords per user

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

Had a quick google and search or marc, but came up with no answers.

Is it possible to disable password based logins per user (like with
the adduser --disabled-password in linux) on OpenBSD, and therefore
have the user only use SSH Keys? I'm aware of the sshd_config setting
"PasswordAuthentication no" which makes this occur system wide.

I just wanted to ensure I'm not missing something else, in setting up
a single user on a system that doesn't have "PasswordAuthentication
no" set for system wide SSH logins. Maybe using login classes?

The reason: I'm trying to setup gitosis
(http://eagain.net/gitweb/?p=gitosis.git;a=blob;f=README.rst) on an
OpenBSD server, but the README is linux centric.

--
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)