LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 05-05-2009, 01:38 PM   #1
frznchckn
Member
 
Registered: Jun 2006
Location: CA
Distribution: Ubuntu 9.04 netbook; CentOS, Red Hat
Posts: 41
Thanked: 0
Question force ssh to use key AND password


[Log in to get rid of this advertisement]
Is there anyway I can force ssh connections to require a known key and a user password before allowing successful login?
frznchckn is offline  
Tag This Post , ,
Reply With Quote
Old 05-05-2009, 02:55 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Fedora, FreeBSD
Posts: 2,386
Thanked: 81
You might be able to kludge something together by creative use of stacking PAM modules.

Alternatively, you could just come up with a system so that keypairs always used a passphrase. (i.e. You might have to generate the keys yourself rather than letting users do it.)
anomie is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Private/Public key vs. Password authentication w/ SSH MykeV Linux - Security 5 11-25-2007 12:49 PM
Force delete key to work in aix ksh ? Vilius AIX 5 10-15-2007 01:47 PM
open-ssh vs. commercial ssh (tru64), public-key auth not possible? cf050 Linux - Networking 7 12-20-2006 08:04 AM
Force sudo to re-ask for password? humbletech99 Linux - Security 3 12-06-2006 11:14 AM
How to force user to enter username and password sxcheng Linux - Security 1 02-23-2005 06:46 AM


All times are GMT -5. The time now is 02:49 AM.

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