Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
init
Commits
b12e118e
Commit
b12e118e
authored
Apr 23, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ubuntu 22 allow sshd
parent
b1e43329
Pipeline
#12008
failed with stage
in 1 minute and 50 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
tasks/sshd_config.yml
tasks/sshd_config.yml
+10
-0
No files found.
tasks/sshd_config.yml
View file @
b12e118e
...
...
@@ -29,3 +29,13 @@
regexp
:
'
^#?UseDNS
(true|yes).*$'
line
:
'
UseDNS
no'
backrefs
:
true
-
name
:
permit ssh-rsa
become
:
true
blockinfile
:
path
:
/etc/ssh/ssh_config
block
:
|
HostKeyAlgorithms=ssh-rsa,ssh-rsa-cert-v01@openssh.com,ssh-xmss-cert-v01@openssh.com,ssh-xmss@openssh.com
KexAlgorithms=+sntrup761x25519-sha512@openssh.com
PubkeyAcceptedAlgorithms=+ssh-rsa,ssh-rsa-cert-v01@openssh.com,ssh-xmss-cert-v01@openssh.com,ssh-xmss@openssh.com
marker
:
'
#
{mark}
MyCard
Init
block'
when
:
ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int >=
22
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment