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]

 



Nico Kadel-Garcia <nkadel@xxxxxxxxx> writes:

> On Tue, Apr 1, 2014 at 4:48 AM, Philip Hands <phil@xxxxxxxxx> wrote:
>> Kevin Wilson <wkevils@xxxxxxxxx> writes:
>>
>>> 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 ?
>>
>> As mentioned by others, there is a way to do this, but I'd suggest that
>> you shouldn't want to.
>>
>> What's wrong with having an additional key in the authorized_keys file?
>
> It's not an "additoinal" key. It's a mismatched key for the same
> hostname in DNS and the same IP address. This causes every SSH client
> on the planet to complain about the mismatch, unless you've
> specifically disabled that check in your client configuration. And
> there is *no* tool besides a text editor for updating such changed
> records in the UNIX/Linux client text based client world besides a
> text editor.

The original question was about client authentication keys, not host
keys, unless I misunderstood the bit about:

  I use:
  ssh-keygen -t rsa
  to generate a key file (id_rsa.pub) ...

Cheers, Phil.
-- 
|)|  Philip Hands [+44 (0)20 8530 9560]    http://www.hands.com/
|-|  HANDS.COM Ltd.                    http://ftp.uk.debian.org/
|(|  10 Onslow Gardens, South Woodford, London  E18 1NE  ENGLAND

Attachment: pgpqiHIhPqu_Y.pgp
Description: PGP signature

_______________________________________________
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