Show ip ssh, Show public-key, Show ip ssh show public-key – Brocade Communications Systems Brocate Ethernet Access Switch 6910 User Manual

Page 223: Show ip ssh (173)

Advertising
background image

Brocade 6910 Ethernet Access Switch Configuration Guide

173

53-1002581-01

Secure Shell

9

Command Mode

Privileged Exec

Example

Console#ip ssh save host-key dsa

Console#

Related Commands

ip ssh crypto host-key generate (171)

show ip ssh

This command displays the connection settings used when authenticating client access to the SSH
server.

Command Mode

Privileged Exec

Example

Console#show ip ssh

SSH Enabled - Version 2.0

Negotiation Timeout : 120 seconds; Authentication Retries : 3

Server Key Size : 768 bits

Console#

show public-key

This command shows the public key for the specified user or for the host.

Syntax

show public-key [user [username]| host]

username – Name of an SSH user. (Range: 1-8 characters)

Default Setting

Shows all public keys.

Command Mode

Privileged Exec

Command Usage

If no parameters are entered, all keys are displayed. If the user keyword is entered, but no user
name is specified, then the public keys for all users are displayed.

When an RSA key is displayed, the first field indicates the size of the host key (e.g., 1024), the
second field is the encoded public exponent (e.g., 35), and the last string is the encoded
modulus. When a DSA key is displayed, the first field indicates that the encryption method
used by SSH is based on the Digital Signature Standard (DSS), and the last string is the
encoded modulus.

Advertising