Hello, I am very fed up of when SSH process of switches in a LAN consumes a lot of processor utilization. Please suggest me to get rid of this problem.
Glen makes an excellant point.
For a L2 switch, there's often not much for the processor to do since normal frame switching likey is done with ASICs.
For a L3 switch, the processor often has more "control plane" functions to contend with that can need processor resources. Something like SSH could compete for processor cycles, but even then, a good task scheduler should keep SSH process consumption being adverse to more critical functions.
If your issue is some thing like NMS is flagging high switch CPU when SSH is used, you might try adjust its thresholds. Otherwise, if you really consider this an issue, as James suggests, don't use SSH.