Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PrivateStorageio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PrivateStorage
PrivateStorageio
Merge requests
!98
Disable agent forwarding
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Disable agent forwarding
59.disable-agent-forwarding
into
develop
Overview
1
Commits
1
Pipelines
1
Changes
1
Merged
Disable agent forwarding
Jean-Paul Calderone
requested to merge
59.disable-agent-forwarding
into
develop
Jun 4, 2021
Overview
1
Commits
1
Pipelines
1
Changes
1
Fixes
#59 (closed)
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
5211b1b2
1 commit,
Jun 4, 2021
1 file
+
4
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
nixos/modules/ssh.nix
+
4
−
0
View file @ 5211b1b2
Edit in single-file editor
Open in Web IDE
Show full file
@@ -37,6 +37,10 @@
# password-based authentication at all.
PermitEmptyPasswords no
# Agent forwarding is fraught. It can be used by an attacker to
# leverage one compromised system into more. Discourage its use.
AllowAgentForwarding no
# Only allow authentication as one of the configured users, not random
# other (often system-managed) users. Possibly this is also
# superfluous! NixOS system users have nologin as their shell ... so they
Loading