Browse Source

print "RSA1" for protocol v1

OPENBSD_3_1
markus 23 years ago
parent
commit
04357c6d0d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc

+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.186 2001/10/29 18:17:03 deraadt Exp $
# $OpenBSD: rc,v 1.187 2001/12/30 16:34:50 markus Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -399,7 +399,7 @@ if [ ! -f /etc/ssh_host_rsa_key ]; then
fi fi
fi fi
if [ ! -f /etc/ssh_host_key ]; then if [ ! -f /etc/ssh_host_key ]; then
echo -n "ssh-keygen: generating new RSA host key... "
echo -n "ssh-keygen: generating new RSA1 host key... "
if /usr/bin/ssh-keygen -q -t rsa1 -f /etc/ssh_host_key -N ''; then if /usr/bin/ssh-keygen -q -t rsa1 -f /etc/ssh_host_key -N ''; then
echo done. echo done.
else else


Loading…
Cancel
Save