Skip to main content

NetApp_Insight_2020.png 

NetApp Knowledgebase

What is the method to clear or kill a hung rsh or ssh process?

Views:
147
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
core
Last Updated:

 

Applies to

Data Ontap 7 Mode

Answer

RSH
ONTAP-7-mode

Prior to Data ONTAP 7.3.1, the only way to clear a hung rsh process is to reboot the storage system.
For Data ONTAP 7.3.1 and later, the storage administrator can use the rshkill command.

 

Example:

Use rshstat -a to display the active the rsh sessions:
   filer> rshstat -a
   Session Invocations:         0
   Current Active Sessions:     2
   Active High Sessions:        2
   Maximum Available Sessions:     24


Then, use the rshkill command to clear the process.

  filer> priv set advanced; rshkill 1; priv set
  rshkill: rsh session 1 was closed successfully.
  filer>

Session numbers range from 0 to 23

Clustered ONTAP
RSH is disabled by default- ---RSH is disabled in the pre-defined management firewall policy for clustered ONTAP

To enable rsh in clustered data ontap 8 and ontap 9 run the following command :

cluster::> set advanced; security protocol modify -application rsh -enabled tru

SSH
For SSH related issues contact NetApp Technical Support

 

Additional Information

Add your text here.