242
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter S Commands
ssh
ssh
To create a Secure Shell (SSH) session using IPv4, use the ssh command.
ssh [username@]{ipv4-address | hostname} [vrf {vrf-name | default | management}]
Syntax Description
Command Default Default VRF
Command Modes EXEC mode
Command History
Usage Guidelines The switch supports SSH version 2.
Examples This example shows how to start an SSH session using IPv4:
switch# ssh 192.168.1.1 vrf management
Related Commands
username (Optional) Username for the SSH session. The username is not case sensitive
and has a maximum of 64 characters.
ipv4-address IPv4 address of the remote host.
hostname Hostname of the remote host. The hostname is case sensitive and has a
maximum of 64 characters.
vrf vrf-name (Optional) Specifies the virtual routing and forwarding (VRF) name to use
for the SSH session. The name can be a maximum of 32 alphanumeric
characters.
default Specifies the default VRF.
management Specifies the management VRF.
Release Modification
5.2(1)N1(1) This command was introduced.
Command Description
clear ssh session Clears SSH sessions.
ssh server enable Enables the SSH server.
ssh6 Starts an SSH session using IPv6 addressing.