5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
79
cli (config-cli) level commands
clrscrn
Clears the screen.
default inactivity timeout The default inactivity timeout will apply to CLI sessions.
default quit connect line Restores the default string to quit the 'connect line', 'telnet', and 'ssh' commands.
enable level password
<text>
Sets the enable-level password.
exit
Exits to the configuration level.
inactivity timeout
<minutes>
Sets the inactivity timeout for all CLI sessions.
line authentication disa-
ble
No password required for Line CLI users.
line authentication enable Challenges the Line CLI user with a password.
no enable level password Removes the enable-level password.
no inactivity timeout
No inactivity timeout will apply to CLI sessions.
quit connect line
<con-
trol>
Sets the string used to quit the 'connect line', 'telnet', and 'ssh' commands. The characters
may be input as text or control. A control character has the form <control>C.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
ssh
Change to menu level for SSH configuration and status.
telnet
Change to menu level for Telnet configuration and status.
write
Stores the current configuration in permanent memory.
client (ssh-client) level commands
clrscrn
Clears the screen.
default user
<username>
command
Restore the user command to the default login shell
delete all known hosts
Remove all known hosts
delete all users
Remove all users
delete known host
<server>
Remove known host
delete user
<username>
Delete the named user
exit
Exits to the ssh level.
known host
<server>
Set known host RSA or DSA key
no known host
<server>
dsa
Remove known host DSA key
no known host
<server>
rsa
Remove known host RSA key
no user
<username>
dsa Remove user DSA key
no user
<username>
rsa Remove user RSA key
show
Show SSH Client settings
show history
Displays the last 20 commands entered during the current CLI session.
show known host
<serv-
er>
Show known host RSA and DSA keys
show user
<username>
Show information for a user
user
<username>
Set username and RSA or DSA keys
user
<username>
com-
mand
<command>
Customizes the user command
user
<username>
gener-
ate dsa 1024
Generate DSA public and private keys