forked from mirrors/nixpkgs
add all keys for all different protocols...
svn path=/nixpkgs/trunk/; revision=4413
This commit is contained in:
parent
e10f2c1f30
commit
b9939fc37a
|
@ -28,7 +28,7 @@ RSA1_KEY=/etc/ssh/ssh_host_key
|
||||||
RSA_KEY=/etc/ssh/ssh_host_rsa_key
|
RSA_KEY=/etc/ssh/ssh_host_rsa_key
|
||||||
DSA_KEY=/etc/ssh/ssh_host_dsa_key
|
DSA_KEY=/etc/ssh/ssh_host_dsa_key
|
||||||
PID_FILE=/var/run/sshd.pid
|
PID_FILE=/var/run/sshd.pid
|
||||||
OPTIONS="-h $DSA_KEY"
|
OPTIONS="-h $DSA_KEY -h RSA_KEY -h RSA1_KEY"
|
||||||
|
|
||||||
do_rsa1_keygen() {
|
do_rsa1_keygen() {
|
||||||
if [ ! -s $RSA1_KEY ]; then
|
if [ ! -s $RSA1_KEY ]; then
|
||||||
|
|
Loading…
Reference in a new issue