Starting Ssh Sessions To Remote Devices; Clearing Ssh Hosts; Disabling The Ssh Server - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Configuring SSH and Telnet
Procedure
Step 1
Step 2
Step 3
Step 4
The following example shows how to specify the SSH public keys in PEM-formatted public key certificate
form:
switch# copy tftp://10.10.1.1/cert.pem bootflash:cert.pem
switch# configure terminal
switch# show user-account
switch# copy running-config startup-config

Starting SSH Sessions to Remote Devices

To start SSH sessions to connect to remote devices from your Cisco Nexus 5000 Series switch, perform this
task:
Procedure
Step 1

Clearing SSH Hosts

When you download a file from a server using SCP or SFTP, you establish a trusted SSH relationship with
that server. To clear the list of trusted SSH servers for your user account, perform this task:
Procedure
Step 1

Disabling the SSH Server

By default, the SSH server is enabled on the Cisco Nexus 5000 Series switch.
OL-16597-01
Command or Action
switch# copy server-file bootflash:
filename
switch# configure terminal
switch# show user-account
switch# copy running-config
startup-config
Command or Action
switch# ssh {hostname |
username@hostname} [vrf vrf-name]
Command or Action
switch# clear ssh hosts
Starting SSH Sessions to Remote Devices
Purpose
Downloads the file containing the SSH key in
PEM-formatted Public Key Certificate form from a
server. The server can be FTP, SCP, SFTP, or TFTP
Enters configuration mode.
(Optional)
Displays the user account configuration.
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Creates an SSH session to a remote device. The
hostname argument can be an IPv4 address, an IPv6
address, or a host name.
Purpose
Clears the SSH host sessions.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
273

Advertisement

Table of Contents
loading

Table of Contents