Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sshd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Tilman Vatteroth
sshd
Commits
e7717115
Commit
e7717115
authored
Jun 24, 2022
by
Luca
Browse files
Options
Downloads
Patches
Plain Diff
[Readme] Fix default configuration information in readme
parent
0fdcc2b0
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+23
-4
23 additions, 4 deletions
README.md
with
23 additions
and
4 deletions
README.md
+
23
−
4
View file @
e7717115
...
...
@@ -4,12 +4,31 @@ This role installs and configures an OpenSSH-Server. It uses [Mozilla's Modern C
## Variables
-
`sshd_ports`
: The ports sshd should listen on. (Default: 22)
-
`sshd_ports`
: The ports
(as list)
sshd should listen on. (Default: 22)
-
`sshd_permit_root_login`
: Allow Root-Login (Default: no)
-
`sshd_allow_pubkeys`
: Allow login with pubkey (Default: yes)
-
`sshd_allow_passwords`
: Allow login with passwords (Default: no)
-
`sshd_print_motd`
: Print the MotD after login (Default: no)
-
`sshd_agent_forwarding`
: Allow Agent-Forwarding (Default:
yes
)
-
`sshd_tcp_forwarding`
: Allow TCP-Forwarding (Default:
yes
)
-
`sshd_x11_forwarding`
: Allow X11-Forwarding (Default:
yes
)
-
`sshd_agent_forwarding`
: Allow Agent-Forwarding (Default:
no
)
-
`sshd_tcp_forwarding`
: Allow TCP-Forwarding (Default:
no
)
-
`sshd_x11_forwarding`
: Allow X11-Forwarding (Default:
no
)
-
`sshd_listen_addresses`
: The addresses sshd should listen on. (Default: 0.0.0.0 and ::)
## Example Playbook
In your requirements.yml add:
```
yaml
-
src
:
https://gitlab.fachschaften.org/fsi-ansible/sshd.git
scm
:
git
name
:
sshd
version
:
"
v2.5.2"
```
In your Playbook add:
```
yaml
-
name
:
Setup and configure sshd
become
:
yes
roles
:
-
sshd
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment