ssh
This command enables SSH on appliance interfaces.
Syntax
ssh address port
no ssh [address]
Parameters
- address
- Specifies the IP address of a local interface.
- port
- Identifies the port of a local interface that services SSH traffic. The default value is 22.
Guidelines
SSH is disabled by default. You can use the optional arguments to explicitly bind SSH to a specified interface. If you explicitly bind SSH to an interface, you must have previously configured that interface.
In the absence of an explicit address assignment, SSH first attempts to bind to the management port. If the appliance does not have a management port configured, SSH binds to all configured interfaces.
If the Ethernet for the local address supports
IPv6 addresses, modify the ssh access control list
to include an allow clauses for specific or all IPv6
addresses.
Use the no ssh command to disable SSH.
Examples
- Enable SSH on port 22 (the default port) of the specified interface.
# ssh 10.10.13.4 SSH service listener enabled - Enable SSH on port 2200 of the specified interface.
# ssh 10.10.13.4 2200 SSH service listener enabled - Disable SSH on all interfaces, which restores the default state.
# no ssh SSH service listener disabled