To clear the history of executed commands in SSH, run:
\cp /dev/null /root/.bash_history
Please note that previous commands can be displayed until you exit! Also, the commands you executed during your last login will not be deleted.
If you wish to disable it completely, type:
rm -rf /root/.bash_history
ln -s /dev/null /root/.bash_history
7 days a week, 24 hours a day