mirror of
https://github.com/napnap75/multiarch-docker-images.git
synced 2025-12-16 11:44:18 +01:00
8 lines
266 B
Bash
Executable File
8 lines
266 B
Bash
Executable File
#!/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
|