EasyManua.ls Logo

3Com Switch 4800G 24-Port - SSH Server Configuration Examples

3Com Switch 4800G 24-Port
1246 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SSH Server Configuration Examples 1119
SSH Server
Configuration
Examples
When Using Password
Authentication
Network requirements
As shown in Figure 331, a local SSH connection is established between the
host (SSH client) and the switch (SSH server) for secure data exchange.
Password authentication is required.
Network diagram
Figure 331 Network diagram for SSH server configuration (using password
authentication)
Configuration procedure
Configure the SSH server
# Generate RSA and DSA key pairs and enable the SSH server.
<Switch> system-view
[Switch] public-key local create rsa
[Switch] public-key local create dsa
[Switch] ssh server enable
# Configure an IP address for VLAN interface 1. This address will serve as the
destination for the SSH client in connecting the server.
[Switch] interface vlan-interface 1
[Switch-Vlan-interface1] ip address 192.168.1.40 255.255.255.0
[Switch-Vlan-interface1] quit
# Set the authentication mode for the user interface to AAA.
[Switch] user-interface vty 0 4
[Switch-ui-vty0-4] authentication-mode scheme
# Enable the user interface to support SSH.
[Switch-ui-vty0-4] protocol inbound ssh
[Switch-ui-vty0-4] quit
Display the mappings between host
public keys and SSH servers saved on
a client
display ssh server-info Available in any view
Display information about a specified
or all SSH users on the SSH server
display ssh
user-information
[ username ]
Available in any view
To do… Use the command… Remarks
SSH client SSH server
Host Switch
192.168.0.2/24
Vlan-int1
192.168 .0.1/24

Table of Contents

Related product manuals