Dell EMC Networking OS10 交换机 — 如何启用/禁用 Telnet/SSH

Summary: 如何在 DELL EMC Networking OS10 交换机中启用/禁用 Telnet/SSH

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms


本文介绍如何在 DELL OS10 交换机中启用/禁用 Telnet/SSH。

前提条件

本文假定用户能够访问交换机的 IP 地址。

远程登录

SLN318880_en_US__1icon 默认情况下,OS10 交换机中禁用 Telnet 服务器。

配置语法

命令

说明

OS10#configure terminal

进入交换机配置模式

OS10(config)# ip telnet server enable

启用 Telnet 服务器

OS10(config)# no ip telnet server enable

禁用 Telnet 服务器

 

SSH

SLN318880_en_US__1icon 默认情况下,在 OS10 交换机中启用 SSH 服务器。

配置语法

命令

说明

OS10#configure terminal

进入交换机配置模式

OS10(config)# ip ssh server enable

启用 SSH 服务器

OS10(config)# no ip ssh server enable

禁用 SSH 服务器

 

示例配置

> 1 Telnet
OS10# configure terminal
OS10(config)# ip telnet server enable

 

> 2 SSH
OS10# configure terminal
OS10(config)# ip ssh server enable


要验证用户是使用 ssh 还是 telnet 协议登录,请使用以下命令

我们可以看到方括号内的协议

OS10# show users
Index  Line    User           Role         Application    Idle     Login-Time                   Location
----- ------   ------------  -------      -------------   -----   --------------------------  ---------------------
1     ttyS0    admin          sysadmin    clish           0s       2019-10-01    XXX:XX:XXX   console
2     pts/0    admin          sysadmin    clish           00:01    2019-10-01    XXX:XX:XXX   50.0.0.2 [telnet]
3     pts/1    admin          sysadmin    bash            14.7s    2019-10-01    XXX:XX:XXX   50.0.0.[ssh]

Cause

本文介绍如何在 DELL OS10 交换机中启用/禁用 Telnet/SSH。

Resolution

默认情况下,OS10 交换机中禁用 Telnet 服务器
默认情况下,OS10 交换机中启用 SSH 服务器。

Affected Products

PowerSwitch S3048-ON, PowerSwitch S4048-ON, Dell EMC Networking MX5108n, Dell EMC Networking MX7116n, Dell EMC Networking MX9116n, PowerSwitch S4048T-ON, PowerSwitch S4112F-ON/S4112T-ON, PowerSwitch S4128F-ON/S4128T-ON , PowerSwitch S4148F-ON/S4148T-ON/S4148FE-ON, PowerSwitch S4248FB-ON /S4248FBL-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch S6010-ON, PowerSwitch Z9100-ON ...

Products

SmartFabric OS10 Software
Article Properties
Article Number: 000137287
Article Type: Solution
Last Modified: 10 Oct 2023
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.