Skip to content

Commit 975d7dc

Browse files
committed
Cleaning out ecdsa keys and install bootstrap.
1 parent 45defbf commit 975d7dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

installer/stock_raspbian/scripts/clean_device.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
echo "Removing any generated SSL keys and certs."
55
rm /etc/ssh/ssh_host_dsa_key
66
rm /etc/ssh/ssh_host_dsa_key.pub
7+
rm /etc/ssh/ssh_host_ecdsa_key
8+
rm /etc/ssh/ssh_host_ecdsa_key.pub
79
rm /etc/ssh/ssh_host_rsa_key
810
rm /etc/ssh/ssh_host_rsa_key.pub
911
rm /home/coder/coder-dist/coder-base/certs/server.*
@@ -16,6 +18,7 @@ rm -rf /home/coder/coder-dist/coder-base/tmp/*
1618
echo ""
1719

1820
echo "Clearing out user history files."
21+
rm /home/pi/coder_bootstrap_install.sh
1922
rm /root/.bash_history
2023
rm /root/.viminfo
2124
rm /home/pi/.bash_history

0 commit comments

Comments
 (0)