Ssh commands, 1 command summary, 2 command examples – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual
Page 205: Ssh commands (205)

Ethernet Switch CLI Reference Guide
205
C
H A P T E R
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.
C
13
no ssh known-hosts <host-ip>
Removes the specified remote hosts from the list of all known
hosts.
C
13
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).
C
13
show ssh key
Displays internal SSH public and private key information.
E
3
no ssh key
Disables the secure shell server encryption key. Your Switch
supports SSH versions 1 and 2 using RSA and DSA
authentication.
C
13
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.
E
3
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