Use openssl to encrypt an unencrypted private ssh key. Don’t overwrite the unencrypted one if you don’t want to.
# openssl rsa -aes256 -in ~/.ssh/id_rsa -out ~/.ssh/id_rsa.enc
Use openssl to encrypt an unencrypted private ssh key. Don’t overwrite the unencrypted one if you don’t want to.
# openssl rsa -aes256 -in ~/.ssh/id_rsa -out ~/.ssh/id_rsa.enc
# reboot
bash: /sbin/reboot: Input/output error
# shutdown -r now
bash: /sbin/shutdown: Input/output error
# echo 1 > /proc/sys/kernel/sysrq
# echo b > /proc/sysrq-trigger