Perform this procedure to configure SSH key pairs for nodes and switches.
About this task
Prerequisites
Steps
To configure an SSH key pair for a software-only node, run these commands:
# below command will generate SSH Key pair in /tmp directory
ssh-keygen -m PEM -b 2048 -t rsa -f /tmp/sshkey-key1 -q -N ""
# To copy public key to software only node
ssh-copy-id -i /tmp/sshkey-key1.pub root@100.68.105.233
# Keys can be copied for both root and non-root users
To configure an SSH key pair for a Cisco Nexus switch, run these commands to add the public key: