User`s guide

Setting CLI Parameters
Matrix DFE Series and N-SA User’s Guide 3-9
Generating Host Keys
BeforeenablingtheSSHserver,atleastonehostkeymustbegenerated.Usethefollowing
commandtogenerateahostkey:
set ssh hostkey
Example
ThisexampleshowshowtogenerateSSHprivateandpublichostkeys.Bydefault,bitsizefor
theDSAandRSAkey pairsis1,024,whichisconsideredverysecure:
Enabling SSH Server
Aftergeneratinghostkeys,usethefollowingcommandtoenableSSHServeronthedevice:
set ssh enable
Setting CLI Parameters
Table 33showstheparametersyoucansettocontroltheCLI’sdisplayandbehaviorandtheir
associatedcommands.Validvalues,whereapplicable,areshownafterthecommandsyntax.
Matrix(rw)->set ssh hostkey
Generating 1024-bit dsa key pair
Key generated.
1024-bit dsa
Private key saved to sshdrv:/.ssh2/dsa
Public key saved to sshdrv:/.ssh2/dsa.pub
Generating 1024-bit rsa key pair
Key generated.
1024-bit rsa
Private key saved to sshdrv:/hostkey
Public key saved to sshdrv:/hostkey.pub
Table 3-3 CLI Parameters
Task Command Syntax <valid values>
Modify the command prompt. set prompt “prompt string”
Note: A prompt string containing a space
in the text must be enclosed in quotes.
Set the message of the day banner message
displayed at session login.
set banner motd message
Set the number of columns the CLI will display. set width screenwidth <50-150>
Set the number of lines the CLI will display. set length screenlength <0, 5-512>
Set the time (in minutes) an idle console or Telnet
CLI session will remain connected before timing out.
set logout timeout <0-333,333>