You can use the ILOM command-line interface (CLI) to enable or disable SSH.
If you do not want to provide access over the network, or if you do not want to use SSH, type the following:
-> set /SP/services/ssh state=enabled | disabled
Establish Secure Remote Connection to Run CLI Commands
Enable or Disable SSH Using Web Interface