Verifying The Ssh And Telnet Configuration; Ssh Example Configuration - Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Chapter 19
Configuring SSH and Telnet
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

Verifying the SSH and Telnet Configuration

To display the SSH configuration information, perform one of the following tasks:
Command
show ssh key [dsa | rsa]
show running-config security [all]
show ssh server
show user-account

SSH Example Configuration

The following example shows how to configure SSH:
Step 1
Generate an SSH server key.
switch(config)# ssh key rsa
generating rsa key(1024 bits).....
.
generated rsa key
Enable the SSH server.
Step 2
switch# configure terminal
switch(config)# ssh server enable
Step 3
Display the SSH server key.
switch(config)# show ssh key
rsa Keys generated:Sat Sep 29 00:10:39 2007
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAvWhEBsF55oaPHNDBnpXOTw6+/OdHoLJZKr+MZm99n2U0ChzZG4svRW
mHuJY4PeDWl0e5yE3g3EO3pjDDmt923siNiv5aSga60K36lr39HmXL6VgpRVn1XQFiBwn4na+H1d3Q0hDt+uWEA0tk
a2uOtXlDhliEmn4HVXOjGhFhoNE=
bitcount:1024
fingerprint:
51:6d:de:1c:c3:29:50:88:df:cc:95:f0:15:5d:9a:df
**************************************
could not retrieve dsa key information
**************************************
Specify the SSH public key in Open SSH format.
Step 4
switch(config)# username User1 sshkey ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAy19oF6QaZl9G+3f1
XswK3OiW4H7YyUyuA50rv7gsEPjhOBYmsi6PAVKui1nIf/DQhum+lJNqJP/eLowb7ubO+lVKRXFY/G+lJNIQW3g9ig
G30c6k6+XVn+NjnI1B7ihvpVh7dLddMOXwOnXHYshXmSiH3UD/vKyziEh5S4Tplx8=
Save the configuration.
Step 5
switch(config)# copy running-config startup-config
OL-16597-01
Purpose
Displays SSH server key-pair information.
Displays the SSH and user account configuration in the
running configuration. The all keyword displays the
default values for the SSH and user accounts.
Displays the SSH server configuration.
Displays user account information.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide

Verifying the SSH and Telnet Configuration

19-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents