[SLL] posting a Web site to a remote server
Russell Evans
russell-evans at qwest.net
Thu May 26 08:47:13 PDT 2005
On Wed, 25 May 2005 23:30:35 -0700 (PDT)
"Paul" <paul at oz.net> wrote:
> On Wed, 25 May 2005, Adam Monsen wrote:
>
> > I want to copy the entire tree (files and directories) in
> > /home/adam/web to a remote server, example.com:/var/www/html/mysite
> > . The remote server doesn't have rsync, but does allow scp or sftp
> > connections. I also want to avoid copying a directory called
> > 'portfolio', and .svn directories from /home/adam/web (and child
> > dirs). Yes, rsync would've been perfect for this.
>
> If they have scp, they should also have ssh.
Mount the remote directory via fuse and sshfs and then use you favorite
file manager to simply copy the directories and files over. If you want
to script it you still can using any tool on your system you want.
Thank you
Russell
http://fuse.sourceforge.net/
With FUSE it is possible to implement a fully functional filesystem in a
userspace program. Features include:
* Simple library API
* Simple installation (no need to patch or recompile the kernel)
* Secure implementation
* Userspace - kernel interface is very efficient
* Usable by non privileged users
* Runs on Linux kernels 2.4.X and 2.6.X
* Has proven very stable over time
http://fuse.sourceforge.net/filesystems.html
Name: SSHFS-FUSE
Author: Miklos Szeredi / miklos at szeredi hu
Homepage: http://tinyurl.com/aej3a
Description
This is a filesystem client based on the SSH File Transfer Protocol.
Since most SSH servers already support this protocol it is very easy to
set up: i.e. on the server side there's nothing to do. On the client
side mounting the filesystem is as easy as logging into the server with
ssh
More information about the linux-list
mailing list