Skip to main content
NetApp Knowledge Base

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

Views:
1,442
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
7dot
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.

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.