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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



one thing not yet mentioned by others:
You should not only synchronize the keys in ~/.ssh/ but, more important,
in order to avoid that all other clients complain about a suspeced man
in the middle attack, you should copy the host keys located in /etc/ssh/
(e.g. by temporarily putting them on an usb medium during reboot, or by
mounting the root partition of the other linux e.g. somewhere below /mnt
- just once for copying the files). Then, clean up the
~/.ssh/known_hosts files on the other machines.


On 04/01/2014 09:05 AM, Kevin Wilson wrote:
> I use:
> ssh-keygen -t rsa
> to generate a key file (id_rsa.pub) 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@xxxxxxxxxxx
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux