BackupPC-users

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

2014-11-06 14:28: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 19:11:22 +0000
Interesting. 
The command syntax worked, (Thanks Les)
But it returned:
Permanently added 'rsa.pub' (RSA) to the list of known hosts.
Write failed: Broken pipe

Terry


-----Original Message-----
From: Les Mikesell [mailto:lesmikesell AT gmail DOT com] 
Sent: Thursday, November 06, 2014 1:54 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:45 PM, tschmid4 <tschmid4 AT utk DOT edu> wrote:
> 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?
>

Yes the .ssh/id_rsa.pub is the argument to the -i (identity) option.
If you omit one you have to omit both.

-- 
   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/