BackupPC-users

Re: [BackupPC-users] Unable to read 4 bytes

2014-11-06 13:46:28
Subject: Re: [BackupPC-users] Unable to read 4 bytes
From: tschmid4 <tschmid4 AT utk DOT edu>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 6 Nov 2014 18:45:10 +0000
Devils in the details. 
Now it returns 'ssh: Could not resolve host name .ssh/id_rsa.pub: Name or 
service not known

I've altered the syntax as:

Ssh-copy-id .ssh/id_rsa.pub root@server

Have I missed the syntax somehow?

Terry


-----Original Message-----
From: Les Mikesell [mailto:lesmikesell AT gmail DOT com] 
Sent: Thursday, November 06, 2014 1:37 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Unable to read 4 bytes

On Thu, Nov 6, 2014 at 12:26 PM, tschmid4 <tschmid4 AT utk DOT edu> wrote:
> It's rsa, instead of DSA. Is that the possible issue?
>
> ~/.ssh#  has 3 files:
> Id_rsa
> id_rsa.pub
> known_hosts
>
> So instead of
> ssh-copy-id -i .ssh/id_dsa.pub root AT machine.tobe.backedup DOT com
>
> I would enter
>
> ssh-copy-id -i .ssh/id_rsa.pub root AT machine.tobe.backedup DOT com  ?
>

Yes, or you should just be able to omit the -i option entirely, as long as the 
environment is set up (by using the '-' option with su) so it can find your 
$HOME directory.

-- 
   Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/