Re: ftp /var/www/html on locahost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

all of that is quite complicate. I will look into It;

Thanks.

Philippe

Le dim 21/09/2003 à 18:58, Stephen Carville a écrit :
> On Sunday September 21 2003 05:09 am, Philippe Rousselot wrote:
> > Hi,
> >
> > How can I ftp files to my own /var/www/html/ folder
> 
> 1. Set up RSA authentication for ssh between the two machines
> 
> 2. Create a non-root user (wwwadmin) on the target machine.  Make its home 
> directory /var/www.  Do not set a password.
> 
> 3. Give ownership of /var/www to wwwadmin:apache.
> 
> 4. copy your id_rsa.pub to target:/var/www/.ssh/authorized_keys (or 
> authorized_keys2 on older version of openssh).  Make sure .ssh has 
> permissions of 700
> 
> 5. use scp, sftp, or rsync to transfer files:
> 
> scp <local files> wwwadmin@target:~/path/relative/to/var/www
> 
> sftp wwwadmin@target
> 
> rsync --rsh=ssh <local files> wwwadmin@target:/var/www/path/to/files
> 
> > Thanks in advance
> 
> Cash in advance is nice too :-)
> 
> > Philippe
> 
> -- 
> Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt
> ------------------------------------------------------------------
> Right wing socialists hate privacy as much as left wing socialists hate guns.
> 


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux