mirror of
https://github.com/napnap75/multiarch-docker-images.git
synced 2026-05-14 05:47:07 +02:00
Added the sshd server
This commit is contained in:
Executable
+7
@@ -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
|
||||
Reference in New Issue
Block a user