How to ssh copy a file from local to web host when logged in?

JD Austin jd at twingeckos.com
Mon Dec 20 21:37:45 MST 2010


Or filezilla for either

On Mon, Dec 20, 2010 at 21:31, John <jharitos at yahoo.com> wrote:

> I don't know what side you're coming from linux or windows. For linux, you
> can use nautilus File -> Connect to Server change type to ssh then enter
> server and username and then connect. If you're coming from windows you can
> download winscp and do the same thing as you'll want to make sure it uses
> ssh and not (s)ftp. You'll then have a gui to grab all the files you want.
>
> --- On Sun, 12/19/10, joe at actionline.com <joe at actionline.com> wrote:
>
> > From: joe at actionline.com <joe at actionline.com>
> > Subject: How to ssh copy a file from local to web host when logged in?
> > To: plug-discuss at lists.plug.phoenix.az.us
> > Date: Sunday, December 19, 2010, 11:24 AM
> >
> > What is the syntax to copy a file from a local computer to
> > a web host
> > server when logged in to the web host server?
> >
> > I used to use 'ftp' to upload files to my web host server,
> > but it seems
> > that in the latest "update" 'ftp has been removed from my
> > system.
> >
> > So when I 'ssh' log-in to my web host server, what is the
> > correct syntax
> > to copy a file (or complete directory) from my local system
> > to the
> > target/destination web host server?
> >
> > I tried this: cp -p /home/joe/filename.pdf rascal.pdf
> >
> > But that does not work. It gives this error message:
> >
> > cp: cannot stat `/home/joe/filename.pdf': No such file or
> > directory
> >
> >
> >
> > ---------------------------------------------------
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20101220/1c9e462f/attachment.html>


More information about the PLUG-discuss mailing list