跳转到主内容

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

Views:
46
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
7dot<a>kbtv</a><a>Data Ontap7模式</a>
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
中有关 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.