[Bug 2331] ssh-copy-id -i id_new.pub fails to copy that id, also: wrong error msg

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Jan 11 10:48:34 EST 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=2331

Elias Toivanen <eatoivan at chem.helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eatoivan at chem.helsinki.fi

--- Comment #1 from Elias Toivanen <eatoivan at chem.helsinki.fi> ---
I cannot reproduce the bug

Here's what I did...

1. Have a key pair id_rsa_remote/id_rsa_remote.pub set up on the remote
machine 

2. Configured the local machine to use this key pair, a copy of which I
have

Host remote
  User me
  Hostname remote.machine.com
  IdentityFile ~/.ssh/id_rsa_remote

3. Have the pub key in id_rsa_remote.pub in the authorized_keys file.

# Public key authentication now works

4. Created a new key pair id_new/id_new.pub on the local machine.

5. ssh-copy-id -i id_new.pub me at remote

6. Observed that the public key has been appended correctly in the
authorized keys file.

# Public key authentication now works with both key pairs


Could you clarify the situation a little bit. So, you have created a
new key pair id_new/id_new.pub that are completely unrelated to any old
key pairs? And the contents of id_new.pub are truly not in the
authorized keys file? 

Note also that a pubkeys are not stronger or weaker...they are just
public.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list