What is the command to copy files from A to B when ssh connected?

Bryan O'Neal Bryan.ONeal at TheONealAndAssociates.com
Tue Aug 3 11:20:29 MST 2010


With SCP only one box has to run an SSH server and it does not mater
which, destination or source, but it does change the syntax.

On Tue, Aug 3, 2010 at 11:18 AM, kitepilot at kitepilot.com
<kitepilot at kitepilot.com> wrote:
> There is not a "command to copy files from computer A to computer B when ssh
> logged in...", but you can use SSH as a "transport" (regardless of which
> computer you are logged-in-how, providing the the destination computer is
> running an SSH server and you have the appropriate credentials) using:
> Scenario 1:
> scp user at remotebox:/file/I/want /where/I/want/it
> or
> Scenario 2:
> scp /file/I/want user at remotebox:/where/I/want/it
> YMMV...   :)
> ET
>
> joe at actionline.com writes:
>>
>> What is the correct command syntax to copy files from computer A
>> to computer B when ssh logged in to comuter B from computer A?
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


More information about the PLUG-discuss mailing list