Re: How to ssh copy a file from local to web host when logge…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Alex Dean
Date:  
To: Main PLUG discussion list
Subject: Re: How to ssh copy a file from local to web host when logged in?

On Dec 19, 2010, at 3:31 PM, wrote:

>
> Kevin replied:
>> From a terminal/console that is not ssh-ed into your web host, copy the
>> files diectly with scp.
>
> But my question was what syntax should I use *while I am logged in* to my
> web host server to copy a file (or directory) from my local system to my
> web host server.
>
> # scp [what] to [what] ???


I'm not aware of any program which can transfer a file using your current ssh session. scp, rsync, & others expect to make their own connections to the remote system, and then close that connection when the file transfer is complete.

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