![FoxGate S6424-S2C2 series Configuration Manual Download Page 197](http://html1.mh-extra.com/html/foxgate/s6424-s2c2-series/s6424-s2c2-series_configuration-manual_2325481197.webp)
SSH Terminal Services
197
25.2 SSH Server Configuration
A Switch, as a SSH server, can connect to multiple SSH clients. SSH clients can be both
LAN users and WAN users. S6424-S2C2 series switches can only SSH server and support
SSH v2.
The following table describes SSH server configuration tasks.
Table 25-1 Configure SSHv2.0 server
Operation
Command
Description
Enable SSH
ssh
Use this command in global
configuration mode.
By default, this function is
disabled.
Configure the default key
cry generate rsa
Use this command in privileged
mode.
Load SSH key
cry refresh rsa
Use this command in privileged
mode.
This command will cover current
key.
Clear configured key
cry zeroize rsa
Use this command in privileged
mode.
Load/upload the key
(public or private) through
TFTP
{
load
|
upload
} keyfile
{
private
|
public
} TFTP
A.B.C.D file_name
Use this command in privileged
mode.
Load/upload the key
(public or private) through
FTP
{
load | upload
} keyfile
{
private | public
} FTP
A.B.C.D file_name
Username Password
Use this command in privileged
mode.
Show SSH
show ssh
Show SSH key
show keyfile {public | private}
25.3 Log in Switch from SSH Client
To successfully establish SSH connection, pay attention to following points:
Create the connection between SSH client and server.
The version of client and server should be the same.
The key matched.
SSH function in server should be enabled.
By default, there is a pair of keys saved in switch. The loaded key can also be used. Pay
attention to followings:
The configured keyfile must be RSA. The keyfile includes public key and private key. It can
Summary of Contents for S6424-S2C2 series
Page 1: ......