Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-08-2005, 06:41 PM   #1
LQ Newbie
Registered: Jul 2005
Posts: 2

Rep: Reputation: 0
SSH: Can I force RSA auth for all but one account?

Is there a way to configure SSH such that password login is DISallowed for all accounts, *except* for the account used by my hosting service so that they can admin my box. I'd like them, and only them, to be able to SSH in with a normal account/password login.

(They're willing to use RSA keys, but it can slow down their response time.)


Old 07-10-2005, 11:55 AM   #2
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,727

Rep: Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299
If it is possible, then it probably will have something to do with PAM (Pluggable Authentication Modules) if your system supports them as it probably does.

The concept behind PAM was to centralize the various authentication-schemes used by various subsystems so that they can be more easily administered. PAM might support rules like what you need, although I have never tried to do it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH RSA Auth lil_drummaboy Linux - Networking 2 11-27-2005 06:42 PM
RSA Keys for SSH XaViaR Linux - General 4 07-02-2005 09:15 AM
ssh RSA key thanat0s Linux - Security 3 09-29-2003 09:51 PM
SSH, DSA and RSA Rex_chaos Linux - Networking 0 03-22-2002 05:54 AM
RSA SSH authorized_key failure akourafas Linux - Security 4 11-21-2001 10:21 AM

All times are GMT -5. The time now is 04:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration