-
Notifications
You must be signed in to change notification settings - Fork 560
harden SSH: kex/ciphers/MACS + disable X11 forwarding #3612
Conversation
@@ -550,6 +550,9 @@ func (t *TemplateGenerator) getTemplateFuncMap(cs *api.ContainerService) templat | |||
"GetKubernetesB64GenerateProxyCerts": func() string { | |||
return getBase64CustomScript(kubernetesMasterGenerateProxyCertsScript) | |||
}, | |||
"GetB64sshdConfig": func() string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this being used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops nevermind ignore my comment ^
Codecov Report
@@ Coverage Diff @@
## master #3612 +/- ##
==========================================
- Coverage 55.56% 55.55% -0.02%
==========================================
Files 107 107
Lines 16195 16198 +3
==========================================
Hits 8999 8999
- Misses 6421 6425 +4
+ Partials 775 774 -1 |
@seanknox kindly confirm this is what we want (from a master vm built from one of the E2E tests run against this PR):
|
As a reference, this is the sshd_config pulled from a vm built against the master branch as of now:
|
@seanknox here's a diff for our convenience:
|
yep! looks good. |
13355dc
to
08e72c2
Compare
/lgtm |
/lgtm thanks @seanknox! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jackfrancis, mboersma, seanknox The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This reverts commit 26f6de1.
What this PR does / why we need it: harden SSH. specifically, it implements best practices for SSH key exchange, ciphers, and MACs. Also disables X11 forwarding.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer:
If applicable:
Release note: