cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3955
Views
5
Helpful
1
Replies

transporting ssh key

sarahr202
Level 5
Level 5

Hi every body

i hope everybody is having a good weekend.

My set up is as follows:

R1 s0-----------s0 R2

i configured R1 and R2 for ssh ver 1

How can  i transport keys?  Is there any way i can configure R1 and R2 to send each other keys?


My second question pertains to the output of " show crypto key mypubkey rsa"

Does it also show private key?

thanks and have a great weekend

1 Accepted Solution

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

"How can  i transport keys?  Is there any way i can configure R1 and R2 to send each other keys?"

Use the exportable optional keyword when generating the key.


exportable

(Optional) Specifies that the RSA key pair can be exported to another Cisco device, such as a router.


http://www.cisco.com/en/US/docs/ios/security/command/reference/sec_c4.html#wp1058464


Once the key is exportable, then you can use the command 'crypto key export rsa pem' to export it

http://www.cisco.com/en/US/docs/ios/security/command/reference/sec_c4.html#wp1047445

and 'crypto key import rsa pem' to import it.

http://www.cisco.com/en/US/docs/ios/security/command/reference/sec_c4.html#wp1061142

"My second question pertains to the output of " show crypto key mypubkey rsa"

Does it also show private key?"

No, only the public key.

View solution in original post

1 Reply 1

Edison Ortiz
Hall of Fame
Hall of Fame

"How can  i transport keys?  Is there any way i can configure R1 and R2 to send each other keys?"

Use the exportable optional keyword when generating the key.


exportable

(Optional) Specifies that the RSA key pair can be exported to another Cisco device, such as a router.


http://www.cisco.com/en/US/docs/ios/security/command/reference/sec_c4.html#wp1058464


Once the key is exportable, then you can use the command 'crypto key export rsa pem' to export it

http://www.cisco.com/en/US/docs/ios/security/command/reference/sec_c4.html#wp1047445

and 'crypto key import rsa pem' to import it.

http://www.cisco.com/en/US/docs/ios/security/command/reference/sec_c4.html#wp1061142

"My second question pertains to the output of " show crypto key mypubkey rsa"

Does it also show private key?"

No, only the public key.