The db2locssh command is an independent
tool that is used run commands on a remote host as user root.
Authorization
Root
Required connection
None
Command syntax
>>-db2locssh--+-generate_keys--+------------------------------------------+-+-><
| '- -keysize--keysize-- -exponent--exponent-' |
+-version-----------------------------------------------------+
+-reset_config------------------------------------------------+
+-display_config----------------------------------------------+
+-set_gskit_path--path-to-gskit-------------------------------+
+-discover_gskit----------------------------------------------+
+-set_time_delta--time-delta-in-seconds-----------------------+
+-set_debug_level--+-1-+--------------------------------------+
| '-2-' |
+-set_db2sshid--ssh-id----------------------------------------+
+-set_fips_mode--+-on--+--------------------------------------+
| '-off-' |
'-root@<host>--command----------------------------------------'
Command parameters
- generate_keys
- Generates a pair of private and public keys on the host that the db2locssh command
is executed on. The default value of keysize is
2048. If you want to specify a key size and exponent, you must use
the -keysize and -exponent options.
- version
- Returns the current db2locssh version used
on the local host.
- reset_config
- Reset the db2locssh configurations.
- display_config
- Display the current db2locssh configurations.
- set_gskit_path
- Specifies the file path to IBM Global Security Kit (GSKit) packages.
- discover_gskit
- Attempts to locate GSKit packages on an installed DB2 instance.
- set_time_delta
- Configure
the amount of time allowed to elapse between issuing a command on
the local host and receiving the command on the remote host. The unit
of the provided value must be seconds. Default is 0 which
means this check is disabled.
- set_debug_level
- 1
- Only log errors in the system log.
- 2
- Log errors and debug information in the system log.
- set_db2sshid
- Set the ID that the current host uses to establish an SSH connection
to other hosts in the cluster.
- set_fips_mode
- off
- Disable the Federal Information Processing Standard (FIPS) off.
This is the default setting.
- on
- Enable FIPS.
- root@<host>
- Run command on <host> as
user root.