How can I have the same ssh key for dual boot (ssh-keygen)

Jan de Haan jdehaan at
Tue Apr 1 18:11:35 EST 2014

Hi Kevin,

  2 possible solutions:

1) put the same private key (id_rsa, not on a shared medium
(usb stick comes to mind) and use that, by mounting it on ~/.ssh, or such.
2) copy the same private key to both environments.



On Tue, Apr 1, 2014 at 9:05 AM, Kevin Wilson <wkevils at> wrote:

> I use:
> ssh-keygen -t rsa
> to generate a key file ( which I copy into authorized_keys2 on
> other machines in order to permit ssh to these machines without being
> asked for a password.
> The thing is that I have dual boot on this machine: one for fedora and
> one for ubuntu. The two key files which were generated on these machine
> are different.
> Is there a way so that I will have the same key file for both these fedora
> and
> ubuntu ?
> regards,
> Kevin
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at

"Piracy is simply demand where supply does not exist."

More information about the openssh-unix-dev mailing list