history -c && history -w
rm ~/.bash_history
vi .bash_profile
unset HISTFILE
It is recommended to edit the SSH configuration file (/etc/ssh/sshd_config) and change the “PermitRootLogin” field from ‘yes’ to other allowed argument, according to best practices, in order to secure SSH authentication process