David Colon on 18 Dec 2018 19:19:18 -0800


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

Re: [PLUG] scp help


> 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

Hi,
You need a colon in between the target and target path.

scp -i mykey myfile username@hostname:/path/to/target

David
___________________________________________________________________________
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