comando sshcfg
Utilizzare questo comando per visualizzare e configurare i parametri SSH.
Sintassi:
sshcfg [-options]
Opzione | Descrizione | Valori |
---|---|---|
-cstatus | Lo stato della CLI di SSH | enabled, disabled |
-hk | Chiave del server |
|
Esempio:
system> sshcfg
-cstatus:enabled
-CLISSH port:22
384 bit fingerprint: PBB5aRshJC0P9Bd8Lvf+RALAH1reYMVHxefGg+hUdxw
521 bit fingerprint: hDsmmGDW+6g/CT67VZ8Pc1maIZQU2dY6TVi2VlYoJxM
2 SSH public keys (ECDSA) installed
4096 bit fingerprint: DHxDn5lnpscA7uCBgCL2TLSQ4UevxaxjDlU7rd9Dog4
1 SSH public keys (RSA) installed
SSH client option HostKeyAlgorithm impacts the negotiation result of using host key.
system> sshcfg -hk all
384 bit fingerprint: PBB5aRshJC0P9Bd8Lvf+RALAH1reYMVHxefGg+hUdxw
521 bit fingerprint: hDsmmGDW+6g/CT67VZ8Pc1maIZQU2dY6TVi2VlYoJxM
2 SSH public keys (ECDSA) installed
4096 bit fingerprint: DHxDn5lnpscA7uCBgCL2TLSQ4UevxaxjDlU7rd9Dog4
1 SSH public keys (RSA) installed
system> sshcfg -hk gen
Regenerating SSH keys...
Envoyer des commentaires