LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-20-2010, 11:38 AM   #1
daghenningsorbo
LQ Newbie
 
Registered: Mar 2009
Posts: 24

Rep: Reputation: 0
SSH key and/or password


Hello.

Does anyone know if it's possible to have the SSH server authenticate through keys if present, but ask for password if no keys are present?

dagH
 
Old 02-20-2010, 11:44 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
yes it is.
read your /etc/ssh/sshd_config

PasswordAuthentication yes
 
Old 02-20-2010, 03:31 PM   #3
daghenningsorbo
LQ Newbie
 
Registered: Mar 2009
Posts: 24

Original Poster
Rep: Reputation: 0
Well, it did work! Thank you!
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
open-ssh vs. commercial ssh (tru64), public-key auth not possible? cf050 Linux - Networking 8 03-28-2012 12:15 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
Private/Public key vs. Password authentication w/ SSH MykeV Linux - Security 5 11-25-2007 12:49 PM


All times are GMT -5. The time now is 07:27 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 Google+: linuxquestions
Open Source Consulting | Domain Registration