ssh server use-vrf shutdown

Disables the SSH service.

Syntax

ssh server use-vrf vrf-name shutdown
no ssh server use-vrf vrf-name shutdown

Parameters

use-vrf vrf-name
Specifies a user-defined VRF or built-in VRFs such as mgmt-vrf or default-vrf.

Modes

Global configuration mode

Usage Guidelines

The no form of the command enables the SSH service.

The use of the use-vrf keyword brings down the server only for the specified VRF. You can shut down any server in any VRF, including the management and default VRF.

Examples

This example shuts down the SSH service for a VRF.

device(config)# ssh server use-vrf myvrf shutdown

This example enables the SSH service on the VRF.

device(config)# no ssh server use-vrf myvrf shutdown