Use the settempsshkey command to install
a temporary Secure Shell (SSH) key for a superuser ID to
run commands in the service assistant CLI.
Syntax
satasksettempsshkey -keyfilefilename [ panel_name ]
Parameters
- -keyfile filename
- Specifies the name of the file that contains the Secure Shell
(SSH) public key. The file identified by filename must
be on the local node (or on the USB flash drive, if you execute the
command from there).
- panel_name
- (Optional) Identifies the node being serviced.
Note: If panel_name is
not supplied, this applies to the node on which the command is running.
Description
This
command installs a temporary SSH key for a superuser
ID to
run commands in the service assistant CLI (for example, to copy files
to or from the node).
You can only use this command when completing a service action. Installing a temporary
key will replace any available existing keys. The
key will be deleted when the node joins a cluster or is rebooted or
power cycled.
An invocation example
satask settempsshkey
The
resulting output:
No feedback