ZyXEL Communications ES-2024PWR Switch User Manual


 
Ethernet Switch CLI Reference Guide
205
CHAPTER 57
SSH Commands
Use these commands to configure SSH on the Switch.
57.1 Command Summary
The following section lists the commands for this feature.
57.2 Command Examples
This example disables the secure shell RSA1 encryption key and removes remote hosts
172.165.1.8 and 172.165.1.9 (with an SSH-RSA encryption key) from the list of known hosts.
Table 120 ssh Command Summary
COMMAND DESCRIPTION M P
show ssh Displays general SSH settings. E 3
show ssh session Displays current SSH session(s). E 3
show ssh known-hosts Displays known SSH hosts information. E 3
ssh known-hosts <host-ip>
<1024|ssh-rsa|ssh-dsa> <key>
Adds a remote host to which the Switch can access using
SSH service.
C13
no ssh known-hosts <host-ip> Removes the specified remote hosts from the list of all known
hosts.
C13
no ssh known-hosts <host-ip>
<1024|ssh-rsa|ssh-dsa>
Removes the specified remote hosts with the specified public
key (1024-bit RSA1, RSA or DSA).
C13
show ssh key <rsa1|rsa|dsa> Displays internal SSH public and private key information. E 3
no ssh key <rsa1|rsa|dsa> Disables the secure shell server encryption key. Your Switch
supports SSH versions 1 and 2 using RSA and DSA
authentication.
C13
ssh <1|2> <[user@]dest-ip>
[command </>]
Connects to an SSH server with the specified SSH version
and, optionally, adds commands to be executed on the
server.
E3
sysname(config)# no ssh key rsa1
sysname(config)# no ssh known-hosts 172.165.1.8
sysname(config)# no ssh known-hosts 172.165.1.9 ssh-rsa