Module Name: src Committed By: riastradh Date: Mon Jun 5 11:51:20 UTC 2023
Modified Files: src/etc/rc.d: sshd Log Message: /etc/rc.d/sshd: Stop generating DSA host keys by default. If you want them you can generate them yourself, but in this day and age (Monday and 2023, specifically) there's no reason to be using DSA except for compatibility with ancient legacy software. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/etc/rc.d/sshd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/rc.d/sshd diff -u src/etc/rc.d/sshd:1.33 src/etc/rc.d/sshd:1.34 --- src/etc/rc.d/sshd:1.33 Fri May 26 10:44:59 2023 +++ src/etc/rc.d/sshd Mon Jun 5 11:51:19 2023 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: sshd,v 1.33 2023/05/26 10:44:59 riastradh Exp $ +# $NetBSD: sshd,v 1.34 2023/06/05 11:51:19 riastradh Exp $ # # PROVIDE: sshd @@ -61,7 +61,6 @@ sshd_keygen() printf "ssh-keygen: " && "${keygen}" -f "${f}" -l new_key_created=true done << _EOF -dsa 1024 ssh_host_dsa_key ecdsa 521 ssh_host_ecdsa_key ed25519 -1 ssh_host_ed25519_key rsa 0 ssh_host_rsa_key