Module Name: src Committed By: sevan Date: Sat Oct 7 21:41:51 UTC 2017
Modified Files: src/etc/rc.d: sshd Log Message: With the new version of OpenSSH, SSHv1 is no longer supported server-side. Along with that rsa1 type keys are no longer supported. Don't try to generate such keys on new systems. ok christos To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 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.23 src/etc/rc.d/sshd:1.24 --- src/etc/rc.d/sshd:1.23 Sun Oct 19 16:33:01 2014 +++ src/etc/rc.d/sshd Sat Oct 7 21:41:51 2017 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: sshd,v 1.23 2014/10/19 16:33:01 christos Exp $ +# $NetBSD: sshd,v 1.24 2017/10/07 21:41:51 sevan Exp $ # # PROVIDE: sshd @@ -35,7 +35,6 @@ sshd_keygen() "${keygen}" -t "${type}" ${bitarg} -f "${f}" -N '' fi done << _EOF -rsa1 0 ssh_host_key 1 RSA dsa 1024 ssh_host_dsa_key 2 DSA ecdsa 521 ssh_host_ecdsa_key 1 ECDSA ed25519 -1 ssh_host_ed25519_key 1 ED25519 @@ -46,8 +45,7 @@ _EOF sshd_precmd() { - if [ ! -f /etc/ssh/ssh_host_key -o \ - ! -f /etc/ssh/ssh_host_dsa_key -o \ + if [ ! -f /etc/ssh/ssh_host_dsa_key -o \ ! -f /etc/ssh/ssh_host_ecdsa_key -o \ ! -f /etc/ssh/ssh_host_ed25519_key -o \ ! -f /etc/ssh/ssh_host_rsa_key ]; then