Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144046 - Change sshd default setting to publickey only
Summary: Change sshd default setting to publickey only
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Default Configs (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 14:43 UTC by Justus Ranvier
Modified: 2006-08-20 00:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justus Ranvier 2006-08-15 14:43:01 UTC
The default configuration of sshd as is is shipped allows challenge-response authentication. This is unsafe for any computer with a direct connection to the internet. A safer default is to set "ChallengeResponseAuthentication" to "no" since the odds of an attacker brute-forcing a public key are much lower than the odds of brute-forcing a password. 

I get several of these attacks per day from various locations:

Aug 15 08:42:58 [sshd] Invalid user mariusz from 67.19.131.244
                - Last output repeated 12 times -
Aug 15 08:43:04 [sshd] Invalid user barbara from 67.19.131.244
                - Last output repeated 12 times -
Aug 15 08:43:10 [sshd] Invalid user szpunar from 67.19.131.244
                - Last output repeated 12 times -
Aug 15 08:43:15 [sshd] Invalid user andrzej from 67.19.131.244
                - Last output repeated 12 times -
Aug 15 08:43:21 [sshd] Invalid user szef from 67.19.131.244
                - Last output repeated 12 times -
and so on
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-15 14:53:39 UTC
That's what stuff like fail2ban is for. Changing the default would screw tons of people (and you can always do it yourself if it fits your situation).

Re-assigning to maintainer.
Comment 2 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2006-08-16 02:20:12 UTC
and I think this could be closed as invalid since it has been the default behaviour of all main distros for ages.

If your box is so vulnerable, subscribe to security-basics@securityfocus.com (or so). This is often discussed, and, each time, redundant.
Personnally i'm now using fail2ban.
Comment 3 SpanKY gentoo-dev 2006-08-20 00:45:38 UTC
sorry, but not a chance will this change be made