SVNews r326564

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-12-05 09:08:48 - r326564 by cperciva (Colin Percival)

Complete list of files affected by revision r326564:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/release/tools/ec2.conf  

Commit message:

Resurrect r321659: Turn off ChallengeResponseAuthentication for EC2 AMIs.

EC2 instances are normally launched with an SSH public key specified,
which is then used for logging in (by default, as 'ec2-user'). Having
ChallengeResponseAuthentication enabled (as FreeBSD's default sshd_config
does) has no functional effect in a new EC2 instance, since you can't log
in using a password until a password has been set -- but having this
enabled results in alerts from automated scanning tools which can detect
that sshd advertises support for keyboard-interactive logins (since they
can't detect that accounts have no password set).

EC2 users who want to use passwords to log in to their instances will need
to set 'ChallengeResponseAuthentication yes' in FreeBSD 12.0 and later.

Discussed with: gjb, gtetlow, emaste, des
Requested by: Amazon
Relnotes: ChallengeResponseAuthentication is turned off by default in
  Amazon EC2 AMIs.


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 7 ms, 1 file printed. Current time is 2018-03-19 07:00:51. All times are in UTC/GMT.