Azitech

Azimout's Linux weblog

ssh-copy-id: ERROR: No identities found

with 2 comments

If you try to copy your ssh keys to another system and get the error message “ssh-copy-id: ERROR: No identities found”, just run the following command and try to copy again:

ssh-keygen -t rsa
About these ads

Written by azimout

23/05/2011 at 07:43

Posted in Problems

2 Responses

Subscribe to comments with RSS.

  1. [root@N040 ~]# ssh-copy-id nod3
    /usr/bin/ssh-copy-id: ERROR: No identities found
    [root@N040 ~]# ssh-keygen -t rsa
    Generating public/private rsa key pair.
    Enter file in which to save the key (/root/.ssh/id_rsa):
    /root/.ssh/id_rsa already exists.
    Overwrite (y/n)? y
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in /root/.ssh/id_rsa.
    Your public key has been saved in /root/.ssh/id_rsa.pub.
    The key fingerprint is:
    4f:07:02:fa:2c:24:a4:a8:7c:ad:17:12:6a:f5:9d:59 root@N040
    [root@N040 ~]# ssh-copy-id nod3
    /usr/bin/ssh-copy-id: ERROR: No identities found

    ArtemZ

    04/07/2011 at 12:26

  2. this is nonsense… if you have a private key moved from your old computer and ssh is just not recognizing your ssh key. With this command you overwrite your existing key ( if your key is named “id_rsa”). Have fun getting access back on your machines without the private key.

    And this command is not the solution for the problem. Try this: http://linux.101hacks.com/sysadmin-tasks/ssh-copy-id-and-ssh-agent/

    daniel

    17/08/2013 at 11:36


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: