Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
salt-state
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FFFFM
salt-state
Commits
00e9d378
Commit
00e9d378
authored
8 years ago
by
skorpy
Browse files
Options
Downloads
Patches
Plain Diff
ssh init
parent
093f904a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ssh/goal/ssh_config
+9
-0
9 additions, 0 deletions
ssh/goal/ssh_config
ssh/goal/sshd_config
+18
-0
18 additions, 0 deletions
ssh/goal/sshd_config
ssh/init.sls
+13
-0
13 additions, 0 deletions
ssh/init.sls
with
40 additions
and
0 deletions
ssh/goal/ssh_config
0 → 100644
+
9
−
0
View file @
00e9d378
# Github needs diffie-hellman-group-exchange-sha1 some of the time but not always.
Host
github.com
KexAlgorithms
curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1
Host
*
KexAlgorithms
curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
PasswordAuthentication
no
ChallengeResponseAuthentication
no
This diff is collapsed.
Click to expand it.
ssh/goal/sshd_config
0 → 100644
+
18
−
0
View file @
00e9d378
Protocol 2
HostKey /etc/ssh/ssh_host_ed25519_key
HostKey /etc/ssh/ssh_host_rsa_key
PasswordAuthentication no
ChallengeResponseAuthentication no
PubkeyAuthentication yes
AllowGroups ssh-user
KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com
This diff is collapsed.
Click to expand it.
ssh/init.sls
0 → 100644
+
13
−
0
View file @
00e9d378
openssh-server:
pkg.latest:
- pkgs:
- openssh-server
service.running:
- name: sshd
- enable: True
- reload: True
# - watch:
# - augeas: sshd_*
include:
- openssh.hardening
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