Chapter 2
Using RUGGEDCOM ROX II
RUGGEDCOM ROX II
CLI User Guide
38 File Commands
Parameter Description
file scp-featurekey-to-url current-filename user@host:/path/new-
filename
Where:
• current-filename is the current filename of the feature key file.
• user is a user name with access rights to the remote computer.
• host is the host name or IP address of the remote computer.
• path path specifies where to save the feature key file on the remote computer.
• new-filename is the new filename for the feature key file. To use the current filename,
specify the current filename or exclude this parameter from the command.
When prompted, type the password to connect to the remote computer. For example:
ruggedcom# file scp-featurekey-to-url 1_cmRX1K-12-11-0015.key
jsmith@10.200.20.39:/c:/ruggedcom/1_cmRX1K-12-11-0015.key
jsmith@10.200.20.39's password:
1_cmRX1K-12-11-0015.key 100% 192
0.2KB/s 00:00
file scp-log-to-url current-
filename user@host:/path/new-
filename
scp-log-to-url
Securely copies a log file to a remote computer from the device. The remote computer must
have an SCP or SSH (secure shell) service or client installed and running.
To use this command, the user credentials for the remote computer, the IP address or host
name of the remote computer, the directory path to the log file on the remote computer,
and the log file filename must all be known.
Where:
• current-filename is the current filename of the log file.
• user is a user name with access rights to the remote computer.
• host is the host name or IP address of the remote computer.
• path path specifies where to save the log file on the remote computer.
• new-filename is the new filename for the log file. To use the current filename, specify
the current filename or exclude this parameter from the command.
When prompted, type the password to connect to the remote computer. For example:
ruggedcom# file scp-log-to-url syslog.1 jsmith@10.200.20.39:/c:/
ruggedcom/syslog.1
jsmith@10.200.20.39's password:
syslog.1 100% 12KB 12.4KB/s 00:00
file show-config filename
Displays the content of a specified file. Use auto completion to display a list of available files.
For example:
ruggedcom# file show-config added_users.txt
admin system-name "System Name" location Location contact Contact
admin hostname name ruggedcom domain localdomain
admin session-limits max-sessions 50
.
.
.
file show-featurekey filename
Displays the content of a specified feature key file. Use auto completion to display a list of
available feature key files. For example:
ruggedcom# file show-featurekey 1_cmRX1K-12-11-0015.key
GPG_FEATUREKEY_LEVEL=1
GPG_FEATUREKEY_CM_SERIALNUMBER=RX1K-12-11-0015
GPG_FEATUREKEY_SIGNATURE=iEYEABECAAYFAk091pAACgkQP
2pya+G5kdZeKACeKdHUB2G1T73Dymq8IjSdYDKAiskAn3abBp
CEhfLXxY2ZlVbvGNwDZow2