Ticket #40062: openssh_108499.diff
File openssh_108499.diff, 1012 bytes (added by nonstop.server@…, 11 years ago) |
---|
-
Portfile
old new 157 157 startupitem.create yes 158 158 startupitem.name OpenSSH 159 159 startupitem.start \ 160 "if \[ -x ${prefix}/sbin/sshd ]; then160 "if \[ -x ${prefix}/sbin/sshd \]; then 161 161 if \[ ! -f ${prefix}/etc/ssh/ssh_host_key \]; then 162 162 ${prefix}/bin/ssh-keygen -t rsa1 -f \\ 163 163 ${prefix}/etc/ssh/ssh_host_key -N \"\" -C `hostname` … … 166 166 ${prefix}/bin/ssh-keygen -t dsa -f \\ 167 167 ${prefix}/etc/ssh/ssh_host_dsa_key -N \"\" -C `hostname` 168 168 fi 169 if \[ ! -f ${prefix}/etc/ssh/ssh_host_ecdsa_key \]; then 170 ${prefix}/bin/ssh-keygen -b 521 -t ecdsa -f \\ 171 ${prefix}/etc/ssh/ssh_host_ecdsa_key -N \"\" -C `hostname` 172 fi 169 173 if \[ ! -f ${prefix}/etc/ssh/ssh_host_rsa_key \]; then 170 174 ${prefix}/bin/ssh-keygen -t rsa -f \\ 171 175 ${prefix}/etc/ssh/ssh_host_rsa_key -N \"\" -C `hostname`