[ale] [ot] Xmpp, ejabberd question
Tim Watts
tim at cliftonfarm.org
Tue Dec 27 10:41:02 EST 2011
Looks like someone already has.
from man rsync:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
SETUP
See the file README for installation instructions.
Once installed, you can use rsync to any machine that you can access via a
remote shell (as well as some that you can access using the rsync daemon-mode
protocol). For remote transfers, a modern rsync uses ssh for its communica‐
tions, but it may have been configured to use a different remote shell by
default, such as rsh or remsh.
You can also specify any remote shell you like, either by using the -e command
line option, or by setting the RSYNC_RSH environment variable.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
$ rsync --version
rsync version 3.0.7 protocol version 30
On Tue, 2011-12-27 at 10:17 -0500, Geoffrey Myers wrote:
> Jim Kinney wrote:
> > Hmm. Somwone needs to update the rsync man pages to reflect -e default
> > is ssh
>
> That is news to me as well.
>
> >
> > On Dec 27, 2011 10:12 AM, "Brian Mathis"
> > <brian.mathis+ale at betteradmin.com
> > <mailto:brian.mathis%2Bale at betteradmin.com>> wrote:
> >
> > There's no need for the -e stuff for a long time now. Rsync uses ssh
> > by default on all modern versions. You get the same effect using the
> > simpler form of:
> >
> > rsync -P file.to.transfer username at remote.host:/path/store/file/
> >
> > ❧ Brian Mathis
> >
> >
> > On Mon, Dec 26, 2011 at 11:44 PM, James Sumners
> > <james.sumners at gmail.com <mailto:james.sumners at gmail.com>> wrote:
> > > XMPP is really not the right tool for this. Rsync is what you want:
> > >
> > > $ rsync -P -e "ssh -l username" file.to.transfer
> > > remote.host:/path/store/file/
> > >
> > > Where "username" is the SSH user you will be using to transfer
> > the file.
> > >
> > >
> > > On Monday, December 26, 2011, Wolf Halton <wolf.halton at gmail.com
> > <mailto:wolf.halton at gmail.com>> wrote:
> > >> What would be wrong with using xmpp as a transfer protocol for
> > moving
> > >> backups of tarred files? I have used scp for this purpose, but
> > if the tunnel
> > >> is broken, the file is corrupted. From what I have been reading,
> > if a
> > >> session drops in xmpp, it picks up where it was dropped and
> > continues. I am
> > >> working inside a c-class private subnet.
> > >>
> > >> http://sourcefreedom.com
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org <mailto:Ale at ale.org>
> > http://mail.ale.org/mailman/listinfo/ale
> > See JOBS, ANNOUNCE and SCHOOLS lists at
> > http://mail.ale.org/mailman/listinfo
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> > See JOBS, ANNOUNCE and SCHOOLS lists at
> > http://mail.ale.org/mailman/listinfo
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20111227/3f264208/attachment.bin
More information about the Ale
mailing list