Skip to main content
Install and maintain

Verify SSH for log collection on the Cisco Nexus 9364D-GX2A switch

Contributors netapp-lisa netapp-jsnyder

Verify that SSH is enabled on Cisco Nexus 9364D-GX2A switches to support the Ethernet switch health monitor (CSHM) and log collection features.

Before you begin

You must be connected to the switch using the serial console.

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:Thu May 15 15:09:55 2025
    
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDCQJPZk7OGhg0j1t0NWKylnI8R8zDpuMpU6KKAjPOCShTFpibeYQqxOPTCAKACkut8dduZmc3bY9DIOle0cKYQ8PgS2mG9ovQ0RJ56RUNhVNPdJuhXM4ckHoiVJxIAbHkbcw8rzawbkT6cNBUiZY3MrOMh0e0CnMRhh9we
    MOo/vQ==
    
    
    bitcount:1024
    fingerprint:
    SHA256:TMUXFgyRC3EcIZEVbQ/P0elDByBCJizPJ1XKMkIXfPI
    
    could not retrieve dsa key information
    
    ecdsa Keys generated:Thu May 15 15:12:09 2025
    
    
    ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBADquZcNSDA/eLAaItXyxVZxsSJSE3u4et9B6+RLq162zTe/3A6JTCyBrkfrMhQt9QMQ7XrMqJGxLSinXhyUClBxwQD/ZbkZueZHiFuYg5hKN97wUYvts+EwpG2mSVonxKKp
    atmtgu48BqKfZTc4LZYL5vgdh5uuktJ0Z8mYHt3xKPXsvw==
    
    
    bitcount:521
    fingerprint:
    SHA256:K8LDx6L7sJjLFn8iubUhjt66uk8TYmXwnQKWVD04C1o
    **
    
    (switch)# show feature | include scpServer
    scpServer              1          enabled
    (switch)# show feature | include ssh
    sshServer              1          enabled
    (switch)#
What's next?