View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3999
|
Posted: Fri Sep 24, 2010 6:06 pm Post subject: How to configure sshd to ban linux pwd use?[SOLVED] |
|
|
Hi dear all.
When I connect to Gentoo with Putty without any key file specified, sshd requests linux pwd for the requested login.
I don't know how to configure sshd_config accordingly.
Any suggestion?
Thanks for your attention.
Last edited by CaptainBlood on Fri Sep 24, 2010 7:22 pm; edited 1 time in total |
|
Back to top |
|
|
M Guru
Joined: 12 Dec 2006 Posts: 432
|
Posted: Fri Sep 24, 2010 6:14 pm Post subject: |
|
|
I think you need option
UsePAM no |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3999
|
Posted: Fri Sep 24, 2010 7:21 pm Post subject: |
|
|
Thks for your quick reply . Sorry but your suggestion didn't work.
Nevertheless I decided to test the following section of the default /etc/sshd/sshd_config file: Code: | # To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication no | turning it to Code: | # To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication no
PasswordAuthentication no | which did the trick ! So, although I thought the original section meant that Code: | #PasswordAuthentication no | was the default, it doesn't seem to be the case ?
Thanks for attention, interest and support. |
|
Back to top |
|
|
|