|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../openssh/openssh.postinstall |
|
|
|
|
# Copyright (C) 2006 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2006 - 2012 The OpenSDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
|
# |
|
|
|
@ -15,7 +15,7 @@
|
|
|
|
|
|
|
|
|
|
SSHDIR=/etc/ssh |
|
|
|
|
mkdir -p $SSHDIR |
|
|
|
|
for t in rsa1 dsa rsa; do |
|
|
|
|
for t in rsa1 dsa rsa ecdsa; do |
|
|
|
|
case "$t" in |
|
|
|
|
rsa1) keyfile=$SSHDIR/ssh_host_key ;; |
|
|
|
|
*) keyfile=$SSHDIR/ssh_host_${t}_key ;; |
|
|
|
|