Skip to main content
Cluster and storage switches

Verify your SSH configuration

Contributors netapp-yvonneo

If you are using the Ethernet Switch Health Monitor (CSHM) and log collection features, verify that SSH and SSH keys are enabled on the cluster switches.

Steps
  1. Verify that SSH is enabled:

    (switch) show ssh server
    ssh version 2 is enabled
  2. Verify that the SSH keys are enabled:

    show ssh key

    Show example
    (switch)# show ssh key
    
    rsa Keys generated:Fri Jun 28 02:16:00 2024
    
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDiNrD52Q586wTGJjFAbjBlFaA23EpDrZ2sDCewl7nwlioC6HBejxluIObAH8hrW8kR+gj0ZAfPpNeLGTg3APj/yiPTBoIZZxbWRShywAM5PqyxWwRb7kp9Zt1YHzVuHYpSO82KUDowKrL6lox/YtpKoZUDZjrZjAp8hTv3JZsPgQ==
    
    bitcount:1024
    fingerprint:
    SHA256:aHwhpzo7+YCDSrp3isJv2uVGz+mjMMokqdMeXVVXfdo
    
    could not retrieve dsa key information
    
    ecdsa Keys generated:Fri Jun 28 02:30:56 2024
    
    ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBABJ+ZX5SFKhS57evkE273e0VoqZi4/32dt+f14fBuKv80MjMsmLfjKtCWy1wgVt1Zi+C5TIBbugpzez529zkFSF0ADb8JaGCoaAYe2HvWR/f6QLbKbqVIewCdqWgxzrIY5BPP5GBdxQJMBiOwEdnHg1u/9Pzh/Vz9cHDcCW9qGE780QHA==
    
    bitcount:521
    fingerprint:
    SHA256:TFGe2hXn6QIpcs/vyHzftHJ7Dceg0vQaULYRAlZeHwQ
    
    (switch)# show feature | include scpServer
    scpServer              1          enabled
    (switch)# show feature | include ssh
    sshServer              1          enabled
    (switch)#