To create a Secure Shell (SSH) session using IPv4, use the ssh command.
ssh [username@]{ipv4-address | hostname} [vrf {vrf-name | default | management}]
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. |
Default VRF
EXEC mode
Release |
Modification |
4.0(0)N1(1a) |
This command was introduced. |
The switch supports SSH version 2.
This example shows how to start an SSH session using IPv4:
switch# ssh 192.168.1.1 vrf management
Command |
Description |
---|---|
clear ssh session |
Clears SSH sessions. |
ssh server enable |
Enables the SSH server. |
ssh6 |
Starts an SSH session using IPv6 addressing. |