LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2010, 07:47 PM   #1
ravibhure
Member
 
Registered: May 2007
Posts: 75

Rep: Reputation: 15
allow ssh only with key file and password


Hi,
I want to allow ssh only to user with rsa key file and also after authenticate the rsa key it will ask user login password, is it possible to add this type of duel security on linux box.

-Ravi
 
Old 07-09-2010, 10:26 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,398

Rep: Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207
I assume you mean you want to create and install self signed certificates as the authentication method.
 
Old 07-10-2010, 10:07 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
This tutorial may be a bit old, but I think it goes through the steps to set up exactly what you're asking for.
 
Old 07-10-2010, 06:05 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,398

Rep: Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207Reputation: 2207
I think I assumed wrong.
 
Old 07-12-2010, 02:53 PM   #5
ravibhure
Member
 
Registered: May 2007
Posts: 75

Original Poster
Rep: Reputation: 15
Pefect!!
http://www.linuxquestions.org/linux/...ation_with_ssh

I have generated rsa key on my server with pass-phrase, now all work well as I need.

Thanking you "Hangdog42"
 
  


Reply


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 public key or password bortek Linux - Security 7 03-16-2010 07:38 PM
SSH key and/or password daghenningsorbo Linux - Networking 2 02-20-2010 03:31 PM
Public key authentication with ssh -- With out Password balakrishnay Linux - General 10 01-03-2010 11:41 PM
SSH access method: public-key + password together.... MCD555 Linux - Security 4 05-27-2009 03:46 AM
force ssh to use key AND password frznchckn Linux - General 1 05-05-2009 02:55 PM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration