Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

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

Views:
881
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.

 

Scan to view the article on your device