跳转到主内容

清除或终止挂起的rsh或ssh进程的方法是什么?

Views:
61
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
7dot
Last Updated:

 

适用场景

Data ONTAP  7模式

问题解答

rsh
ONTAP-7-模式

在Data ONTAP 7.3.1之前的版本中、清除挂起的rsh进程的唯一方法是重新启动存储系统。
对于Data ONTAP 7.3.1及更高版本、存储管理员可以使用 rshkill 命令。

 

示例:

使用rshstat -a 显示活动的rsh会话:
   filer> rshstat -a
   Session Invocations:         0
   Current Active Sessions:     2
   Active High Sessions:        2
   Maximum Available Sessions:     24


然后、使用rshkill 命令清除此过程。

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

Session numbers range from 0 to 23

默认情况下、集群模式ONTAP
RSH处于禁用状态-在集群模式ONTAP的预定义管理防火墙策略中、RSH处于禁用状态

要在集群模式Data ONTAP 8和ONTAP 9中启用rsh、请运行以下命令:

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

有关SSH
相关问题、 请联系NetApp技术支持

 

追加信息

在此处添加文本。

 

 

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.