Slexy.org is shutting down and stopped accepting new Pastes on May 4th, 2021.
Existing Pastes will stop being available on or after May 10th, 2021.
Author: Not specified Language: text
Description: Not specified Timestamp: 2017-10-07 21:40:40 +0000
View raw paste Reply
  1. Index: etc/rc.d/sshd
  2. ===================================================================
  3. RCS file: /cvsroot/src/etc/rc.d/sshd,v
  4. retrieving revision 1.23
  5. diff -u -p -u -r1.23 sshd
  6. --- etc/rc.d/sshd       19 Oct 2014 16:33:01 -0000      1.23
  7. +++ etc/rc.d/sshd       7 Oct 2017 21:30:01 -0000
  8. @@ -35,7 +35,6 @@ sshd_keygen()
  9.                         "${keygen}" -t "${type}" ${bitarg} -f "${f}" -N ''
  10.                 fi
  11.         done << _EOF
  12. -rsa1   0       ssh_host_key            1       RSA
  13.  dsa    1024    ssh_host_dsa_key        2       DSA
  14.  ecdsa  521     ssh_host_ecdsa_key      1       ECDSA
  15.  ed25519        -1      ssh_host_ed25519_key    1       ED25519
  16. @@ -46,8 +45,7 @@ _EOF
  17.  
  18.  sshd_precmd()
  19.  {
  20. -       if [ ! -f /etc/ssh/ssh_host_key -o \
  21. -           ! -f /etc/ssh/ssh_host_dsa_key -o \
  22. +       if [ ! -f /etc/ssh/ssh_host_dsa_key -o \
  23.             ! -f /etc/ssh/ssh_host_ecdsa_key -o \
  24.             ! -f /etc/ssh/ssh_host_ed25519_key -o \
  25.             ! -f /etc/ssh/ssh_host_rsa_key ]; then
  26.  
View raw paste Reply