3.2.13. ssh-server

Top-level container for ssh server.

vsr running config# vrf <vrf> ssh-server

enabled (pushed)

Enable or disable the ssh server.

vsr running config# vrf <vrf> ssh-server
vsr running ssh-server# enabled true|false
Default value
true

address

The IP address of the interface to listen on. The SSH server will listen on all interfaces if no value is specified.

vsr running config# vrf <vrf> ssh-server
vsr running ssh-server# address ADDRESS

ADDRESS values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

port

The local port number on this interface the SSH server listens on.

vsr running config# vrf <vrf> ssh-server
vsr running ssh-server# port PORT

PORT

A 16-bit port number used by a transport protocol such as TCP or UDP.

Default value
22

permit-root-login

Allow to login as root.

vsr running config# vrf <vrf> ssh-server
vsr running ssh-server# permit-root-login PERMIT-ROOT-LOGIN

PERMIT-ROOT-LOGIN values

Description

yes

Permit root login.

no

Doesn’t permit root login.

prohibit-password

Prohibit login by password.

<string>

No description.

Default value
yes