To avoid this from happening you can use this method .
Make a cfg file named:
safe_rcon.cfg
Copy this into it :
zero rcon_password
sp_sc_flow_if T val #_sp_cl_info_server == val "94.23.144.236:28910"
"set rcon_password openhouse"
Note: edit the correct ip and password
Then add this to autoexec :
set _sp_cl_on_connect "sp_sc_exec_file safe_rcon.cfg"
If u should have rcon passwords from different servers u just add another line to
safe_rcon.cfg with the correct IP and password :
sp_sc_flow_if T val #_sp_cl_info_server == val "94.23.144.236:28910"
"set rcon_password openhouse"
Now when u enter server 94.23.144.236:28910 your rcon password will be automaticly set as “openhouse”
In any other server u will show zero password when u accidently hit a rcon command binded key .
Credits: Yump