Is there a way to reuse my existing ssh key on one linux machine on a PC with Ubuntu OS,am trying to access gerrit on a Ubuntu OS PC and as expected ssh connection needs to be established.
I don’t want to run generate a new ssh key with my email id as it might mess-up my current ssh connection, how to proceed forward? any inputs
Thanks
You can copy your older ssh keys to the new machine.
Basically, copy your ~/.ssh/id_rsa
and ~/.ssh/id_rsa.pub
files to this new machine at same location, and you should be able to ssh in all right. You might need to explicitly specify the user account you want to ssh
into like ssh user@server
.
Also, you might want to go through more answers on reusing ssh keys.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With