LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-19-2004, 11:20 AM   #1
eyt
Member
 
Registered: Sep 2003
Posts: 76

Rep: Reputation: 15
sshd_config


Hi all,

Can we just allow only keys authentification for ssh connection. I don't
want user to use password authentification for connection to my server.



For the sshd_config, there is a parameter PasswordAuthentification
if we set it to yes, it allows password authentification even if keys authentification fails.

I try to set PasswordAuthentification to no, it still allows password authentification even keys authentification failed.

Thanks.
 
Old 02-19-2004, 11:33 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
$100 says you've not restarted the sshd service on the server....
 
Old 02-19-2004, 12:05 PM   #3
eyt
Member
 
Registered: Sep 2003
Posts: 76

Original Poster
Rep: Reputation: 15
Hi acid_kewpie,

Thanks. I forgot to restart sshd.
 
  


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
editing sshd_config in ipcop 1.4.2 insurin Linux - Security 5 03-18-2005 06:28 PM
sftp - sshd_config "Subsystem" bad configuration??? halo14 *BSD 3 02-04-2005 07:45 AM
AllowUsers in sshd_config Won't Use IP Range lnxconvrt Linux - Security 4 11-28-2004 11:28 PM
quick sshd_config question slug420 Linux - Security 1 08-10-2004 11:39 AM
sshd_config banner to show users IP tommytomato Linux - Security 5 06-20-2004 05:50 AM


All times are GMT -5. The time now is 07:45 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