How to ssh copy a file from local to web host when logged in?
Alex Dean
alex at crackpot.org
Mon Dec 20 07:21:00 MST 2010
On Dec 19, 2010, at 3:31 PM, joe at actionline.com 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
More information about the PLUG-discuss
mailing list