Renew all ssh keys from previous installations

This commit is contained in:
Maniacikarus
2008-11-05 19:40:18 +01:00
parent 261c412b82
commit f986879151

View File

@@ -249,3 +249,11 @@ chmod +x /tmp/remove_obsolete_paks
echo
echo Please wait until pakfire has ended...
echo
echo
echo Finaly were going to renew all ssh keys
echo
rm -f /etc/ssh/ssh_host_rsa_key* && ssh-keygen -qf /etc/ssh/ssh_host_rsa_key -N ''
rm -f /etc/ssh/ssh_host_key* && ssh-keygen -qf /etc/ssh/ssh_host_key -N '' -t rsa1
rm -f /etc/ssh/ssh_host_dsa_key* && ssh-keygen -qf /etc/ssh/ssh_host_dsa_key -N '' -t dsa