LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux 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

Reply
 
LinkBack Search this Thread
Old 05-05-2009, 01:38 PM   #1
frznchckn
Member
 
Registered: Jun 2006
Location: CA
Distribution: Ubuntu 11.04, CentOS, RHEL 5
Posts: 86

Rep: Reputation: 15
Question force ssh to use key AND password


Is there anyway I can force ssh connections to require a known key and a user password before allowing successful login?
 
Old 05-05-2009, 02:55 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Debian, FreeBSD
Posts: 3,559
Blog Entries: 3

Rep: Reputation: Disabled
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.)
 
  


Reply

Tags
key, password, ssh


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Force delete key to work in aix ksh ? Vilius AIX 10 05-11-2011 10:36 AM
Private/Public key vs. Password authentication w/ SSH MykeV Linux - Security 5 11-25-2007 12:49 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 04:13 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration