System Setup and Software Installation Guide for Cisco NCS 1004

PDF

System Setup and Software Installation Guide for Cisco NCS 1004

Configure SSH server access on NCS 1004

Want to summarize with AI?

Log in

Use this procedure to configure SSH server version 2 on the NCS 1004 device and verify secure connectivity to the management interface.


Enable SSH server version 2 on NCS 1004 to allow secure remote administration.

Before you begin

  • Install the ncs1004-k9sec package on NCS 1004. For package installation, see the Install Packages section.

  • Generate the crypto key for SSH using the crypto key generate dsa command.

Enabling SSH server access ensures secure connections to the management interface port using the IP address.

Procedure

1.

Enter configuration mode.

Example:

RP/0/RP0/CPU0:ios# configure
2.

Use the ssh server v2 command to enable the SSH server to accept only SSHv2 client connections:

Example:

RP/0/RP0/CPU0:ios(config)# ssh server v2
3.

Use the commit or end command.

  • commit — saves the configuration changes and remains within the configuration session.

  • end — prompts the user to save (Yes), discard (No), or stay in the session (Cancel).

4.

Use the show ssh session details command to verify that the SSH sessions are established.

Example:


RP/0/RP0/CPU0:ios# show ssh session details

Tue Feb 12 16:03:51.455 UTC
SSH version : Cisco-2.0

id  key-exchange          pubkey              incipher   outcipher  inmac         outmac
---------------------------------------------------------------------------------------------
Incoming Sessions
1   ecdh-sha2-nistp256    ecdsa-sha2-nistp256 aes128-ctr aes128-ctr hmac-sha2-256 hmac-sha2-256

Displays a detailed report of the SSHv2 connections to and from NCS 1004.

SSH server version 2 is enabled, and you can establish a secure SSH session to the management interface of NCS 1004 using its configured IP address.