palexander / dreamback

Dreamback is the easiest way to automate your backups on dreamhost. Dreamhost does not guarantee their backups of your users (though they've saved me with backups before), so it's best to run backups yourself.
MIT License
2 stars 2 forks source link

/usr/bin/ssh-copy-id: ERROR: No identities found #1

Open jrsteensen opened 12 years ago

jrsteensen commented 12 years ago

You are missing a DSA ssh key for this user at /home//.ssh/id_dsa, we will create one now More on creating ssh keys here: http://en.wikipedia.org/wiki/ssh-keygen Enter file in which to save the key (/home//.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again:

Key created successfully

Copying the ssh key to your backup server, type in your password if prompted for @hanjin.dreamhost.com

WARNING: This will overwrite existing ssh keys on your backup user account. Proceed? [y/n]: y Password for @hanjin.dreamhost.com: *****

Copying the ssh key to the dreamhost accounts you want to back up

Type in password if prompted for XXX>@<XXX.dreamhost.com /usr/bin/ssh-copy-id: ERROR: No identities found

I get the same error everytime I try to backup now as well. I set all earlier parameters of the setup correctly.

palexander commented 12 years ago

Thanks for the bug report, sorry you're having problems. It looks like it's not finding the path for your user account correctly. Let me look into this to see if it's an issue in the code. If so, I'll have to have you update and try again.

jrsteensen commented 12 years ago

No problem. I’ve been digging in on my end, and not being able to figure out why. I have my own script in place temporarily, but your solution is much more elegant and I would like to use it long term.

palexander commented 12 years ago

Hi, I was able to finally take a look at the code again today and fixed another bug. I don't think they are related, however. I'm wondering if you would be willing to email me a copy of the .dreamback file that gets generated in the user account where you are running the backups from. It shouldn't have passwords in it (dreamback doesn't use them) but it does have account and server names, so if you aren't willing to send it I would understand.

This would help because it looks like something is misconfigured in there. The line that reads:

@.dreamhost.com

should be a user name and machine name combination, for example:

palexander@thrashers.dreamhost.com

You can try running dreamback setup again and make sure you're providing the right user and server information

jrsteensen commented 12 years ago

I'll do that next week for you. (My son is being born tomorrow! Woohoo!)

Date: Wed, 14 Nov 2012 16:20:05 -0800 From: notifications@github.com To: dreamback@noreply.github.com CC: john.steensen@live.com Subject: Re: [dreamback] /usr/bin/ssh-copy-id: ERROR: No identities found (#1)

Hi, I was able to finally take a look at the code again today and fixed another bug. I don't think they are related, however. I'm wondering if you would be willing to email me a copy of the .dreamback file that gets generated in the user account where you are running the backups from. It shouldn't have passwords in it (dreamback doesn't use them) but it does have account and server names, so if you aren't willing to send it I would understand.

This would help because it looks like something is misconfigured in there. The line that reads:

@.dreamhost.com

should be a user name and machine name combination, for example:

palexander@thrashers.dreamhost.com

You can try running dreamback setup again and make sure you're providing the right user and server information

          —

          Reply to this email directly or view it on GitHub.