2nd Pair of SSH Keys

1675 pts.
Tags:
AS 400
IBM iSeries
SFTP
SSH
I need to create second pair of SSH Keys for a User Profile ,Which has already working SSH Keys. If i normally do with SSH KEYGEN -T RSA ,i believe it will overwrite the existing environment and set new keys...Could You Please Advise me how to do this ?

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • andyhumphreys
    If I recall correctly doesn't ssh-keygen ask you where you wish to store the private/public key? The default is $home/.ssh/id_rsa for the private key and $home/.ssh/id_rsa.pub for the public. If you are not wanting to overwrite the previously generated key files then either specify a different filename in the key creation step, or go into $home/.ssh and rename the files already there if you want the default files to contain the new keys. Depends how your system is set up really.
    465 pointsBadges:
    report
  • qmaster
    Thanks for that....If i rename the existing Keys and Create the Keys with their default names(id_rsa).....Will there any confliction b/w old and new keys? or any other impacts?I Came to know other way by using belowSSH-KEGYEN -F"newkeysname" -tRSA...With this we will create a set of keys ...and we've to create another identity file in SSH IFS path to look for the new keys...Could you please tell me which one will be best bet ?
    1,675 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following