1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 20:47:46 +00:00

Ports: Generate OpenSSH host keys using a service

This commit is contained in:
Héctor Molinero Fernández 2023-07-07 13:56:23 +02:00 committed by Tim Schumacher
parent 563bb9d20c
commit b7676d3bad
2 changed files with 7 additions and 17 deletions

View file

@ -16,7 +16,13 @@ cat <<EOF >> mnt/etc/SystemServer.ini
[SSHServer]
Executable=/usr/local/sbin/sshd
Arguments=-D
KeepAlive=1
KeepAlive=true
SystemModes=text,graphical
[SSHServerGenKeys]
Executable=/usr/local/bin/ssh-keygen
Arguments=-A
KeepAlive=false
SystemModes=text,graphical
EOF
```