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:[email protected]] 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 <[email protected]> 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 [email protected] > > I would enter > > ssh-copy-id -i .ssh/id_rsa.pub [email protected] ? > 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 [email protected] ------------------------------------------------------------------------------ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
