Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

Rep: Reputation: 0
SSH key and/or password


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?

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

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

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

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


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 11:15 AM
Public key authentication with ssh -- With out Password balakrishnay Linux - General 10 01-03-2010 10:41 PM
SSH access method: public-key + password together.... MCD555 Linux - Security 4 05-27-2009 02:46 AM
force ssh to use key AND password frznchckn Linux - General 1 05-05-2009 01:55 PM
Private/Public key vs. Password authentication w/ SSH MykeV Linux - Security 5 11-25-2007 11:49 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:54 PM.

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