Starting Ssh Sessions To Remote Devices; Clearing Ssh Hosts - Cisco Nexus 5000 Series Configuration Manual

Nx-os security configuration guide
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Starting SSH Sessions to Remote Devices

Command or Action
Step 2
switch# configure terminal
Step 3
switch# show user-account
Step 4
switch# copy running-config startup-config
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:
SUMMARY STEPS
1. switch# ssh {hostname | username@hostname} [vrf vrf-name]
DETAILED STEPS
Command or Action
Step 1
switch# ssh {hostname | username@hostname}
[vrf vrf-name]

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:
SUMMARY STEPS
1. switch# clear ssh hosts
DETAILED STEPS
Command or Action
Step 1
switch# clear ssh hosts
Cisco Nexus 5000 Series NX-OS Security Configuration Guide
66
Purpose
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.
Configuring SSH and Telnet
OL-20919-01

Advertisement

Table of Contents
loading

Table of Contents