Re: scp in reverse?

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
To: Main PLUG discussion list
Subject: Re: scp in reverse?
thanks.

On Mon, Apr 2, 2012 at 7:32 AM, <
> wrote:

> You can't get anywhere without a username:
> ssh <username>@<IP address>
> ET
>
>
> Michael Havens writes:
>
>> well... yeah. I knew that. I was really asking how one did that. I mean
>> like do you drop the user name and it would be '<source_ip>:thatfile this
>> file' or 'thisfile <destination_ip>:that file'.
>> On Mon, Apr 2, 2012 at 6:25 AM, <
>> > wrote:
>>
>>> Michael, "names" on a network are fake.
>>> There are only IP address in a network .
>>> You "translate a name" into its corresponding IP address via a "name
>>> resolution service"
>>> A "name resolution service" can be as simple as an /etc/hosts file or as
>>> complex as a full blown self-replicating/redundant name server (like
>>> bind).
>>> At the end, EVERYTHING goes via an IP address, so your question might
>>> actually work in reverse:
>>>
>>>> I was wondering.... could you do this via NAMEs?
>>>>
>>> Yes, assuming that the name can be translated via some "name resolution
>>> service"
>>> ET
>>>
>>>
>>>
>>> Michael Havens writes:
>>>
>>>> I was wondering.... could you do this via ipaddress?
>>>> On Thu, Mar 15, 2012 at 12:01 PM, <
>>>> > wrote:
>>>>
>>>>> Yes, scp (like cp) will copy back or forth, the 2 commands below are
>>>>> legal:
>>>>> scp myuser@remotebox:/that/file /this/path
>>>>> scp /this/path myuser@remotebox:/that/file
>>>>> 1st one will 'retrieve' /that/file from 'remotebox' into /this/path
>>>>> 2nd one will copy /this/path to /that/file in 'remotebox'.
>>>>> ET
>>>>> writes:
>>>>>
>>>>>>
>>>>>> This is interesting. Does this really mean that
>>>>>> scp in reverse is possible by using a similar syntax
>>>>>> with the dot at the end to extract a file from a remote
>>>>>> computer to my local computer?
>>>>>> -----------------
>>>>>> Mike Ballon wrote (in part) ... scp in reverse:
>>>>>> scp 192.168.0.4:Pictures/2009-******Move.from.Florida .
>>>>>> I'm guessing the path of the pictures and take note of the dot at the
>>>>>> end
>>>>>> ------------------------------******---------------------
>>>>>> PLUG-discuss mailing list - .****phoe**
>>>>>> nix.az.us<http://**phoenix.az.us <http://phoenix.az.us>>
>>>>>> <PLUG-discuss@lists.**plug.**phoenix.az.us<http://plug.phoenix.az.us>
>>>>>> <PLUG-discuss@**lists.plug.phoenix.az.us<>
>>>>>> >
>>>>>>
>>>>>> >
>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>> http://lists.PLUG.phoenix.az.******us/mailman/listinfo/plug-****
>>>>>> **discuss<
>>>>>> http://lists.PLUG.**phoenix.**az.us/mailman/**listinfo/plug-**discuss<http://phoenix.az.us/mailman/**listinfo/plug-discuss>
>>>>>> <http://lists.PLUG.**phoenix.az.us/mailman/**listinfo/plug-discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------******---------------------
>>>>> PLUG-discuss mailing list - .****phoe**
>>>>> nix.az.us<http://**phoenix.az.us <http://phoenix.az.us>>
>>>>> <PLUG-discuss@lists.**plug.**phoenix.az.us <http://plug.phoenix.az.us>
>>>>> <PLUG-discuss@**lists.plug.phoenix.az.us<>
>>>>> >
>>>>>
>>>>> >
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.PLUG.phoenix.az.******us/mailman/listinfo/plug-****
>>>>> **discuss<
>>>>> http://lists.PLUG.**phoenix.**az.us/mailman/**listinfo/plug-**discuss<http://phoenix.az.us/mailman/**listinfo/plug-discuss>
>>>>> <http://lists.PLUG.**phoenix.az.us/mailman/**listinfo/plug-discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> :-)~MIKE~(-:
>>>>
>>> ------------------------------****---------------------
>>> PLUG-discuss mailing list - .**phoe**nix.az.us<http://phoenix.az.us>
>>> <PLUG-discuss@lists.**plug.phoenix.az.us<>
>>> >
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.PLUG.phoenix.az.****us/mailman/listinfo/plug-****discuss<
>>> http://lists.PLUG.**phoenix.az.us/mailman/**listinfo/plug-discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>>
>>>
>>>
>>
>>
>> --
>> :-)~MIKE~(-:
>>
> ------------------------------**---------------------
> PLUG-discuss mailing list - .**phoenix.az.us<>
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>




--
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss