Added the sshd server

This commit is contained in:
2022-04-10 12:55:46 +02:00
parent fcfd24571e
commit 0805c53420
5 changed files with 141 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
if [ ! -f "/config/host_keys/ssh_host_rsa_key" ] ; then
mkdir -p /config/host_keys
ssh-keygen -t ed25519 -f /config/host_keys/ssh_host_ed25519_key -N "" < /dev/null
ssh-keygen -t rsa -b 4096 -f /config/host_keys/ssh_host_rsa_key -N "" < /dev/null
fi