Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to configure sshd to ban linux pwd use?[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3999

PostPosted: Fri Sep 24, 2010 6:06 pm    Post subject: How to configure sshd to ban linux pwd use?[SOLVED] Reply with quote

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
View user's profile Send private message
M
Guru
Guru


Joined: 12 Dec 2006
Posts: 432

PostPosted: Fri Sep 24, 2010 6:14 pm    Post subject: Reply with quote

I think you need option
UsePAM no
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3999

PostPosted: Fri Sep 24, 2010 7:21 pm    Post subject: Reply with quote

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 :D! So, although I thought the original section meant that
Code:
#PasswordAuthentication no
was the default, it doesn't seem to be the case :roll::evil:?

Thanks for attention, interest and support.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum