NovaStar Program Reference / System / nscopysshkey
Overview
The nscopysshkey program copies a public ssh key to a remote host.
Command Line Usage
The command line syntax is:
nscopysshkey [user@]hostname [options...]
Optional values are shown in square brackets. Command line parameters are as follows.
nscopysshkey Command Line Parameters
| Parameter | Description | Default |
|---|---|---|
user |
User on the remote host. | Local user, root. |
hostname |
Host name or IP address. | localhost |
-h--help |
Print program usage. | |
-q--quiet |
Do not prompt for root password, exit with status 1. |
Prompt for root password if necessary. |
--quiet0 |
Do not prompt for root password, exit with status 0, used in automated testing. |
Prompt for root password if necessary. |
-v--version |
Print the program version (NovaStar system version). |
Examples
sudo nscopysshkey root@hostname
Scheduling
- The program is not run from the scheduler.
NovaStar Administrator Interface
- The program is not run from the Administrator.