Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] openssh on Centos 5.2
- Date: Wed, 19 Aug 2009 18:09:15 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] openssh on Centos 5.2
- References: <78d7dd350908162314k64b9ae32u9fc0f139cd670625@example.com> <78d7dd350908171854w2135a2efi724f9288b4908a59@example.com> <4A8A1CB8.400@example.com> <200908180842.37961.daniel.ramaley@example.com> <4A8B67BB.4020103@example.com> <4A8B7167.5080408@example.com> <4A8B75F1.3090806@example.com>
- User-agent: Mutt/1.5.18 (2008-05-17)
On 2009-08-19 12:48 +0900 (Wed), Edward Middleton wrote: > Kyle Hasegawa wrote: > > If you really want to harden remote root access you should disable SSH > > root login and limit authentication to a password protected key only. > > > > PermitRootLogin no > > PubkeyAuthentication yes > > AuthorizedKeysFile .ssh/authorized_keys > > PasswordAuthentication no Note that this will not force users to use a "password protected key"; there's no way to do that, since you have no idea, as the server, whence the key came. However, yes, disallowing password logins is a very, very good idea. > You also want to make sure UsePAM is set to no. Oh, no, is this present in some versions of Linux, too? I know that on NetBSD systems, UsePAM defaulted to yes, and the 'PasswordAuthentication no' was ignored in this state, but last time I checked on Ubuntu, password logins were still denied with 'UsePAM yes'. In fact, I just checked again on a 9.10 system, and that seems still to be the case. cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com
- Follow-Ups:
- Re: [tlug] openssh on Centos 5.2
- From: Edward Middleton
- References:
- [tlug] openssh on Centos 5.2
- From: Nguyen Vu Hung
- Re: [tlug] openssh on Centos 5.2
- From: Nguyen Vu Hung
- Re: [tlug] openssh on Centos 5.2
- From: Sotaro Kobayashi
- Re: [tlug] openssh on Centos 5.2
- From: Daniel A. Ramaley
- Re: [tlug] openssh on Centos 5.2
- From: Sotaro Kobayashi
- Re: [tlug] openssh on Centos 5.2
- From: Kyle Hasegawa
- Re: [tlug] openssh on Centos 5.2
- From: Edward Middleton
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] openssh on Centos 5.2
- Next by Date: [tlug] Trimming Posts
- Previous by thread: Re: [tlug] openssh on Centos 5.2
- Next by thread: Re: [tlug] openssh on Centos 5.2
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links