Brian Epstein on 18 Dec 2018 19:37:58 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] scp help


I'm a little confused.  S/he sent you a private key?  This is backwards.  You should be creating a key pair and sending them the public key to put in their authorized key file, not the other way around.

https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2

... and the colon thing everyone mentioned, too.

Thanks,
ep

On Tue, Dec 18, 2018, 22:10 Ed Ackerman <edack@kengel.com wrote:

So I voluntered to help some research person collecting NTP data.
S/he sent me a key which i saved in ~/.ssh
Created since i didn't have one, a ~/.ssh/config file
Placed the line IdentiyFile ./.ssh/xxxxxx
Now when I so to scp using the following:
scp -i xxxxxx myFile user@EduSite/dir1/fileName
Immediatly I get the scp usage message



I'm lost.


---
#include <std.disclaimer>;      | select * from users
Ed Ackerman                     |    where users.clue = 1;
edack@kengel.com                | 0 rows returned
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug