Chapter 57 System Remote Management
UAG CLI Reference Guide
285
57.4.3 SSH Commands
The following table describes the commands available for SSH. You must use the configure
terminal
command to enter the configuration mode before you can use these commands.
57.4.4 SSH Command Examples
This command sets a service control rule that allowed the computers with the IP addresses
matching the specified address object to access the specified zone using SSH service.
This command sets a certificate (Default) to be used to identify the UAG.
Table 181 Command Summary: SSH
COMMAND DESCRIPTION
[no] ip ssh server Allows SSH access to the UAG CLI. The no command disables
SSH access to the UAG CLI.
[no] ip ssh server cert certificate_name Sets a certificate whose corresponding private key is to be
used to identify the UAG for SSH connections. The no
command resets the certificate used by the SSH server to
the factory default (
default).
certificate_name: The name of the certificate. You can use
up to 31 alphanumeric and ;‘~!@#$%^&()_+[]{}’,.=-
characters.
[no] ip ssh server port <1..65535> Sets the SSH service port number. The no command resets
the SSH service port number to the factory default (22).
ip ssh server rule {rule_number|append|insert
rule_number} access-group {ALL|address_object}
zone {ALL|zone_object} action {accept|deny}
Sets a service control rule for SSH service.
address_object: The name of the IP address (group) object.
You may use 1-31 alphanumeric characters, underscores(
_),
or dashes (-), but the first character cannot be a number.
This value is case-sensitive.
zone_object: The name of the zone. Use up to 31 characters
(a-zA-Z0-9_-). The name cannot start with a number. This
value is case-sensitive.
The UAG uses pre-defined zone names like DMZ, LAN1,
LAN2, SSL VPN, IPSec VPN, and WAN.
ip ssh server rule move rule_number to rule_number Changes the index number of a SSH service control rule.
[no] ip ssh server v1 Enables remote management using SSH v1. The no
command stops the UAG from using SSH v1.
no ip ssh server rule rule_number Deletes a service control rule for SSH service.
show ip ssh server status Displays SSH settings.
Router# configure terminal
Router(config)# ip ssh server rule 2 access-group Marketing zone WAN action accept
Router# configure terminal
Router(config)# ip ssh server cert Default