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
fa5465ce
Commit
fa5465ce
authored
Apr 26, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cf124413
Pipeline
#12070
passed with stage
in 2 minutes and 33 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
tasks/sshd_config.yml
tasks/sshd_config.yml
+10
-1
No files found.
tasks/sshd_config.yml
View file @
fa5465ce
...
...
@@ -33,7 +33,7 @@
-
name
:
permit ssh-rsa
become
:
true
blockinfile
:
path
:
/etc/ssh/ssh_config
path
:
/etc/ssh/ssh
d
_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
...
...
@@ -41,3 +41,12 @@
marker
:
'
#
{mark}
MyCard
Init
block'
when
:
ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int >=
22
notify
:
restart_sshd
-
name
:
permit ssh-rsa
become
:
true
blockinfile
:
path
:
/etc/ssh/ssh_config
block
:
|
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
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