06-18-2014 08:48 PM - edited 03-03-2019 07:27 AM
I'd like to login ASR9001 using ssh RSA public key authentication.
So I tried to import ssh key but the command in the manual didn't work.
The command
crypto key import authentication rsa general-keys
didn't work. My router shows like below:
RP/0/RSP0/CPU0:A9K-1#crypto key import authentication rsa ? WORD Path to RSA pubkey file
There is no 'general-keys' argument.
Also I've uploaded ssh public key using ftp, and tried to specify key file path.
RP/0/RSP0/CPU0:A9K-1#crypto key import authentication rsa disk0:/test.pub Specified RSA bit size is not supported. Cannot execute the command : Invalid argument
My key size is 1024 bit.
Does any one know how to import ssh public key to ASR9001?
Thanks.