Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
openssh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
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
certo
openssh
Commits
5ff25566
Commit
5ff25566
authored
Jan 21, 2022
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Host keys should be generated on startup to be different on different instances
parent
5f173874
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Makefile
Makefile
+2
-0
No files found.
Makefile
View file @
5ff25566
...
...
@@ -13,6 +13,7 @@ all: sshd-service
cd
openssh-8.3p1
&&
install
-v
-m644
contrib/ssh-copy-id.1
/usr/share/man/man1
install
-v
-m755
-d
/usr/share/doc/openssh-8.3p1
cd
openssh-8.3p1
&&
install
-v
-m644
INSTALL
LICENCE
OVERVIEW
README*
/usr/share/doc/openssh-8.3p1
rm
/etc/ssh/*_key
/etc/ssh/*_key.pub
@echo
"$$SSHD_SERVICE"
>
/lib/systemd/system/sshd.service
ln
-s
/lib/systemd/system/sshd.service
/etc/systemd/system/multi-user.target.wants/sshd.service
sed
-i
's/#PermitRootLogin.*/PermitRootLogin yes/'
/etc/ssh/sshd_config
...
...
@@ -25,6 +26,7 @@ define SSHD_SERVICE
Description
=
OpenSSH Daemon
[Service]
ExecStartPre
=
/usr/bin/ssh-keygen
-A
ExecStart
=
/usr/sbin/sshd
-D
ExecReload
=
/bin/kill
-HUP
$MAINPID
KillMode
=
process
...
...
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