Add ssh ecdsa hostkey.

This commit is contained in:
Arne Fitzenreiter
2011-02-18 20:31:19 +01:00
parent 7fb1b9f680
commit abcbbd1fd7
4 changed files with 10 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ case "$1" in
ssh-keygen -qf /etc/ssh/ssh_host_rsa_key -N ''
ssh-keygen -qf /etc/ssh/ssh_host_key -N '' -t rsa1
ssh-keygen -qf /etc/ssh/ssh_host_dsa_key -N '' -t dsa
ssh-keygen -qf /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa
fi
[ -e "/var/ipfire/remote/enablessh" ] || exit 0 # SSH is not enabled