EasyManua.ls Logo

Cisco Nexus 5000 Series - Starting Ssh Sessions to Remote Devices; Clearing Ssh Hosts; Disabling the Ssh Server

Cisco Nexus 5000 Series
660 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...
Send feedback to nx5000-docfeedback@cisco.com
1-6
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring SSH and Telnet
Configuring SSH
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
You can start SSH sessions to connect to remote devices from your Nexus 5000 Series switch.
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:
Disabling the SSH Server
By default, the SSH server is enabled on the Nexus 5000 Series switch.
To disable the SSH server to prevent SSH access to the switch, perform this task:
Command Purpose
Step 1
switch# ssh {hostname | username@hostname}
[vrf vrf-name]
Creates an SSH session to a remote device. The
hostname argument can be an IPv4 address, an IPv6
address, or a device name.
Command Purpose
Step 1
switch# clear ssh hosts
Clears the SSH host sessions.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# [no] feature ssh
Enables/disables the SSH server. The default is
enabled.
Step 3
switch(config)# exit
Exits global configuration mode.
Step 4
switch# show ssh server
(Optional) Displays the SSH server configuration.
Step 5
switch# copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.

Table of Contents

Other manuals for Cisco Nexus 5000 Series

Related product manuals