cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

ASR9K ssh public key import

msuk.song
Level 1
Level 1

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.

I've referred http://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r4-3/security/configuration/guide/b_syssec_cg43xasr9k/b_syssec_cg43asr9k_chapter_011.html#task_1104725.

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.

Who Me Too'd this topic