Nexus SSH Setup
NightShade03
Member Posts: 1,383 ■■■■■■■□□□
in CCNP
Has anyone setup Nexus SSH pub key before? I've been trying this for an hour with no luck. I followed two different guides from Cisco to no avail.
I did:
# config
# no feature ssh
# ssh key rsa 1024
# feature ssh
# exit
For verification I used:
# show ssh key
# show ssh server
Both the key shows up and the server is enabled. The to give my user an ssh key I generated a public/private key via SecureCRT (specifying the OpenSSH format).
Create my user:
# username User01 password <password>
Give the user an SSH key:
username User01 sshkey ssh-rsa <private key>
I keep getting back invalid SSH key format. I can't for the life of me understand why! I even copied the .pub key to a USB and moved it to the bootflash to try that way and I still get the same issue. I also generated the public/private key straight up from linux with the same results. Any ideas anyone?
I did:
# config
# no feature ssh
# ssh key rsa 1024
# feature ssh
# exit
For verification I used:
# show ssh key
# show ssh server
Both the key shows up and the server is enabled. The to give my user an ssh key I generated a public/private key via SecureCRT (specifying the OpenSSH format).
Create my user:
# username User01 password <password>
Give the user an SSH key:
username User01 sshkey ssh-rsa <private key>
I keep getting back invalid SSH key format. I can't for the life of me understand why! I even copied the .pub key to a USB and moved it to the bootflash to try that way and I still get the same issue. I also generated the public/private key straight up from linux with the same results. Any ideas anyone?