diff --git a/config/x86_64/server-demo.toml b/config/x86_64/server-demo.toml index 53c3d177..252d226e 100644 --- a/config/x86_64/server-demo.toml +++ b/config/x86_64/server-demo.toml @@ -248,8 +248,7 @@ path = "/root/keygen.sh" data = """ #!/usr/bin/env bash -if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then -ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N "" +if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N "" ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N "" ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ""