ssh server listen
ssh server listen {enable | interface <inf>}
no ssh server listen {enable | interface <inf>}
Enables the listen interface restricted list for SSH. If enabled, and at least one non-
DHCP interface is specified in the list, the SSH connections are only accepted on
those specified interfaces.
The no form of the command disables the listen interface restricted list for SSH.
When disabled, SSH connections are not accepted on any interface.
Syntax Description
enable
interface <inf>
Default
SSH listen is enabled
Modes/Context
Config
History
3.1.0000
Role
admin
Example
switch (config) # ssh server listen enable
switch (config) # show ssh server
SSH server configuration:
Host Key Finger Prints:
switch (config) #
Related Commands
show ssh server
Note
SSH server enabled:
Minimum protocol version: 2
X11 forwarding enabled:
SSH server ports:
Interface listen enabled: yes
No Listen Interfaces.
RSA v1 host key: a0:63:db:96:e2:95:5a:5a:fd:a8:d0:f4:ab:e3:5f:f8
RSA v2 host key: 1e:b7:8b:ec:ab:35:98:be:6b:d6:12:c2:18:72:12:d6
DSA v2 host key: 7c:4a:f7:72:51:67:b5:0b:cd:a2:d2:b9:f3:be:3e:68
Enables SSH interface restrictions on access to this sys-
tem.
Adds interface to SSH server access restriction list.
Possible interfaces are "lo", and "mgmt0".
yes
no
22
Mellanox Technologies
Rev 1.6.2
190