linux command block

Hi Team,

 

I am trying to block the specific command of the Linux system by ssh command but it not blocking can anyone provide the steps for command blocking, I follow each and every step from the guide but it is not working.

 

 

thanks for the support in advance