([ -f /var/log/regen_ssh_keys.log ] && sudo rm /var/log/regen_ssh_keys.log || : ; ) &&
sudo rm /etc/ssh/ssh_host* &&
sudo ssh-keygen -A
~/.ssh/authorized_keys [ -f ~/.ssh/authorized_keys ] && rm ~/.ssh/authorized_keys~/.ssh/known_hosts [ -f ~/.ssh/known_hosts ] && rm ~/.ssh/known_hosts sudo su -c '(find /var/log -name "*.gz" -delete && for item in $(find /var/log/ -type f | grep -v git-daemon | grep -E -v '\.1$' ); do sudo cat /dev/null > $item; done && history -c )'
history -c
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.