sshcfg
Syntax
sshcfg -T system:mm[x] <-cstatus (enabled | disabled)> <-hk (rsd | dsa | gen)> <-v1 (on | off)>
Release Information
Command supported by JUNOS Release 9.1 and later.
Description
(JCS1200 platform only) Display or configure SSH access on the JCS management module.
Options
-T system:mm[x]—Specify the JCS management module as the target of the command. Replace x with a value of 1 or 2.
-cstatus (enabled | disabled)—(Optional) Enable or disable the SSH server on the JCS management module.
-hk gen—(Optional) Generate a host key for the JCS management module.
-hk (rsa | dsa)—(Optional) Display RSA or DSA host key information for the JCS management module.
-v1 (on | off)—(Optional) Enable or disable SSH v1 on the JCS management module. (SSH v2 is always enabled.)
Required Privilege Level
operator (display)
supervisor (display or configure)
List of Sample Output
sshcfg (Display)sshcfg (Configure)
Output Fields
Table 1 lists the output fields for the sshcfg command. Output fields are listed in the approximate order in which they appear.
Table 1: sshcfg Output Fields
Sample Output
system> sshcfg -T system:mm[1]
-v1 off -cstatus enabled CLI SSH port 22 -sstatus disabled SMASH SSH port 50024 ssh-dss 2048 bit fingerprint: 27:ee:bd:a9:27:28:d8:a5:93:03:3d:8e:77:d0:38:2c ssh-rsa 2048 bit fingerprint: 66:c9:73:4f:18:11:02:10:f3:05:6e:d7:27:05:a5:01 2 SSH public keys installed 10 locations available to store SSH public keys
system> sshcfg -T system:mm[1] -hk gen -cstatus
enabled
OK