User's Manual

Chapter 10: Using the Command Line Interface
255
Determining the SSH Authentication Method
This command syntax determines the SSH authentication method.
config:#
network services ssh authentication <auth_method>
Variables:
<option> is one of the options: passwordOnly, publicKeyOnly or
passwordOrPublicKey.
Option
Description
passwordOnly
Enables the password-based login only.
publicKeyOnly
Enables the public key-based login only.
passwordOrPublicKey
Enables both the password- and public
key-based login. This is the default.
If the public key authentication is selected, you must type a valid SSH
public key for each user profile to log in over the SSH connection. See
Specifying the SSH Public Key (on page 301).
Example
The following command causes users to have to type a password for the
SSH login. Use of the SSH public key is not permitted.
config:#
network services ssh authentication passwordOnly
Setting the SNMP Configuration
You can enable or disable the SNMP v1/v2c or v3 agent, configure the
read and write community strings, or set the MIB-II parameters, such as
sysContact, using the CLI commands.
An SNMP command begins with network services snmp.
Enabling or Disabling SNMP v1/v2c
This command syntax enables or disables the SNMP v1/v2c protocol.
config:#
network services snmp v1/v2c <option>
Variables:
<option> is one of the options: enable or disable.
Option
Description
enable
The SNMP v1/v2c protocol is enabled.