[sllug-members]: ssh2: pubkey authentication only?

Steve Dibb steve at wonkabar.org
Thu Oct 26 17:16:28 MDT 2006


> -------- Original Message --------
> Subject: [sllug-members]: ssh2: pubkey authentication only?
> From: Steve Dibb <steve at wonkabar.org>
> Date: Thu, October 26, 2006 4:41 pm
> To: sllug-members at sllug.org
> 
> Does anyone know how to lock down sshd so that it it *only* accepts 
> logins with public keys?
> 
> I've looked through the man pages, and I haven't seen anything that 
> mentions it.

Thanks to macnewbold, we got it figured out.

Run ssh -v hostname to see what auth methods are supported.  Then, turn
off PasswordAuthentication, UsePAM and UseLogin, and turn on
PubkeyAuthentication.  And yer done. :)

Steve



More information about the sllug-members mailing list