Services
Configure SSH access
LR54 User Guide
604
mDNS is a protocol that resolves host names in small networks that do not have a DNS server.
mDNS is enabled by default. To disable mDNS, or enable it if it has been disabled:
n
To enable the mDNS protocol:
(config)> service ssh mdns enable true
(config>
n
To disable the mDNS protocl:
(config)> service ssh mdns enable false
(config)>
6. (Optional) Set the port number for this service.
The default setting of 22 normally should not be changed.
(config)> service ssh port 24
(config)>
7. To create custom SSH configuration settings:
a. Enable custom configurations:
(config)> service ssh custom enable true
(config)>
b. To override the standard SSH configuration and only use the
config_file
parameter:
(config)> service ssh custom override true
(config)>
n
If
override
is set to
true
, entries in
Configuration file
will be used in place of the
standard SSH configuration.
n
If
override
is set to
false
, entries in
Configuration file
will be added to the
standard SSH configuration.
The default is
false
.
c. Set the configuration settings:
(config)> service ssh custom config_file
value
(config)>
where
value
is one or more entires in the form of an OpenSSH sshd_config file. For
example, to enable the diffie-helman-group-sha-14 key exchange algorithm:
(config)> service ssh custom config_file "KexAlgodiffie-
hellman-group14-sha1"
(config)>
8. Save the configuration and apply the change:
(config)> save
Configuration saved.
>