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

Re: Transferring files over SSH in the console



still scp:

ustun@local>ls
file.tgz
ustun@local>ssh ustun@remote
ustun@remote>scp ustun@local:file.tgz .
ustun@remote>ls
file.tgz
ustun@remote>tar xzvf file.tgz
ustun@remote>"do whatever you want"
ustun@remote> scp file.tgz ustun@local:

Best,
Ustun

On Sun, Mar 21, 2010 at 4:47 PM, Dotan Cohen <dotancohen@gmail.com> wrote:
>> Sigh.  What exactly are you trying to *accomplish*????
>>
>
> Just an example:
> I want to move a tarball to the machine, unpack it there then edit a
> file it in. I then want to make that file executable, run it, and
> transfer the output file back to my localhost.
>
> --
> Dotan Cohen
>
> http://bido.com
> http://what-is-what.com
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 880dece01003211647g74b36dc2ha0c16aeb29daab25@mail.gmail.com">http://lists.debian.org/[🔎] 880dece01003211647g74b36dc2ha0c16aeb29daab25@mail.gmail.com
>
>


Reply to: