mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 16:54:32 +04:00
openssh: remove dsa and add ecdsa + ed25519 to initial keygen.
Signed-off by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@ USE_PROCD=1
|
||||
PROG=/usr/sbin/sshd
|
||||
|
||||
start_service() {
|
||||
for type in rsa dsa; do {
|
||||
for type in rsa ecdsa ed25519; do {
|
||||
# check for keys
|
||||
key=/etc/ssh/ssh_host_${type}_key
|
||||
[ ! -f $key ] && {
|
||||
|
||||
Reference in New Issue
Block a user