The local folder contained the text file, which was confirmed by the command
ls ./
When I go to the remote machine and repeat this command, the file is
not shown which means that transfer failed.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change
On 18/08/2009, Wayne Davison way...@samba.org wrote:
On Mon, Aug 17, 2009 at 09:02:42PM +0100, e-letter wrote:
rsync -t *.txt u...@remote.machine:
No response from the command terminal, except for a new prompt
Then it succeeded. If you want it to be more verbose, tell it to be
verbose.
I
Tue, 18 Aug 2009 12:53:28 +0100, inpost wrote:
I repeat: I connect to the remote machine in a separate command terminal to
see
if the text file was transferred and there was no transfer.
I repeated the command with the verbose command:
rsync -vt *.txt u...@remote.machine:
sent 39 bytes
Try rsync -av *.txt:u...@remote.machine/path/to/where/you/want/it/to/go/
(assuming you only want to rsync the txt files from the current
working directory on the A side - else put the full path in with a
trailing slash).
Quoting e-letter inp...@gmail.com:
Readers,
I have tried the
On Mon 17 Aug 2009, e-letter wrote:
I have tried the following command:
rsync -t *.txt ssh u...@remote.machine:
and receive the following error:
rsync: link_stat local/machinepath/ssh failed: No such file or directory (2)
Does:
ssh u...@remote.machine
actually work to give you a
On Mon 17 Aug 2009, Paul Slootman wrote:
I have tried the following command:
rsync -t *.txt ssh u...@remote.machine:
Ah, I now see a spurious ssh there. That tells rsync that you also
want to transfer a file ssh, in addition to the *.txt files.
Do you have a file ssh in that directory?
On 17/08/2009, si...@tranmeremail.org.uk si...@tranmeremail.org.uk wrote:
Try rsync -av *.txt:u...@remote.machine/path/to/where/you/want/it/to/go/
(assuming you only want to rsync the txt files from the current
working directory on the A side - else put the full path in with a
trailing slash).
On 17/08/2009, Paul Slootman paul+rs...@wurtel.net wrote:
On Mon 17 Aug 2009, e-letter wrote:
I have tried the following command:
rsync -t *.txt ssh u...@remote.machine:
and receive the following error:
rsync: link_stat local/machinepath/ssh failed: No such file or directory
(2)
Does:
On 17/08/2009, Paul Slootman p...@wurtel.net wrote:
On Mon 17 Aug 2009, Paul Slootman wrote:
I have tried the following command:
rsync -t *.txt ssh u...@remote.machine:
I removed the ssh from the command:
rsync -t *.txt u...@remote.machine:
No response from the command terminal, except
On 29/03/09 17:15, Morgan Read wrote:
Hello Folks
...
On 30/03/09 04:45, Kyle Lanclos wrote:
I suggest putting your 'ssh -i /some/key/here' into a small shell script,
so that you do:
rsync -e rsync_ssh
...and rsync_ssh looks like:
#! /bin/sh
exec ssh -i /home/key/here $@
I think
On Sun, Mar 29, 2009 at 05:15:58PM +1300, Morgan Read wrote:
ssh [...] sudo rsync [...] -e 'ssh -i /home/rsync/.ssh/id_dsa' [...]
Those quotes won't survive the trip through that many programs, so
you're undoubtedly ending up with rsync seeing just the -e ssh option,
and the -i and beyond are
On 10/13/07, Alan Cheers [EMAIL PROTECTED] wrote:
If you had multiple people making rsync backups over ssh wouldn't it be
preferred to use the single-use daemons from a security standpoint? If
multiple people use this method I would want to limit the chance of somebody
being able to grab
I'll be honest, I was about to send a long mail on how it still doesn't
work... when it suddenly did! :)
So I thought some poor soul might like a step by step so here it is
192.168.1.1 is the source with the data you want
192.168.1.2 is the destination where you want the data to go
with that
On Wednesday 08 November 2006 00:34, Ed wrote:
On Tuesday 07 November 2006 22:53, you wrote:
...snip...
You want to run the rsync command upon connection. Try to use:
command=/usr/bin/rsync --server --daemon --config=/foo/rsyncd.conf .
On Tue, Nov 07, 2006 at 07:19:31PM +0100, Ed wrote:
b) in the certificate, I specified the command that could be run... the likes
of: command=rsync -av ./source [EMAIL PROTECTED]:/destination ssh-rsa
It's completely invalid to specify a client command when expecting a
server command. Just run
Ed wrote:
Hi all,
I'm stuck with a little dilemma and I thought someone could give me a little
advice.
Is there a way to use rsync with an ssh certificate?
There should be
what I have:
First of all I am forced to use the root account with ssh which I know is a
big no,
On Tuesday 07 November 2006 22:53, you wrote:
...snip...
You want to run the rsync command upon connection. Try to use:
command=/usr/bin/rsync --server --daemon --config=/foo/rsyncd.conf .
,no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty
ssh-rsa [BASE64-encoded data of
Do a google search for cwrsync.
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
I haven't tried it but based on version numbers something
from here should work:
http://www.itefix.no/phpws/index.php?module=pagemasterPAGE_user_op=view_pagePAGE_id=6MMN_position=23:23
I found this linked from the backuppc.sourceforge.net site.
On Wed, Jan 04, 2006 at 02:02:23PM -0500, Ken
Hello Harm
if you use
#rsync ... [EMAIL PROTECTED]:test
rsync wil look for the test directory in the homedir of harm
When you try
# rsync ... [EMAIL PROTECTED]::test
rync will use the [test] in your config file.
!note: the difference is the dubble :
Grtz,Remco
Harm Aarts wrote:
Hi all,
I
Hi,
FAQ at http://www.itefix.no/phpws/index.php?module=faqFAQ_op=viewFAQ_id=27
may help.
Rgrds Tev
cwRsync maintainer
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of d c
Sent: 19. desember 2004 04:28
To: [EMAIL PROTECTED]
Subject: SSH Tunnel
On Sat, Dec 18, 2004 at 07:28:24PM -0800, d c wrote:
HOWEVER- I cannot connect passwordless with SSH and then connect to
the rsync daemon.
If you combine daemon-syntax with ssh, you spawn a new rsync daemon that
will be run by the ssh program, so it needs its own rsyncd.conf file
(which must
Oh I see-
I give that a try.
Most likely I'll try that forwarding trick. I am unfamiliar with the syntax but I think I see how it works.
If I use the original method as I specified then I guess I need rsyncd.conf and rsyncd.secrets in each users directory. Do I need to change the default rights
On Thu, Sep 09, 2004 at 06:03:49PM +0800, Jacky Kim wrote:
If the shell of user alpha is /sbin/nologin
When use rsync with ssh mode, is it possible for alpha to use rsync
to backup data?
This is an ssh question: you're asking if there is a way to limit what
commands the user runs. The
Lars E. D. Jensen wrote:
Hi
Thanks for your previous answers.
Now I'm fighting with setting up ssh tunnelling with rsync
Hi
Just wanted to share this with other rsync through tunnelling newbies.
This script will copy files from remotehostname to localhostname
with permissions/ownership etc.
On Tue, Aug 17, 2004 at 06:15:41PM +0200, Lars E. D. Jensen wrote:
The warning tells me that it's not possibel to use ssh?!
I do this:
rsync -auz --delete --rsh=?ssh -l ssh_username
[EMAIL PROTECTED]::www /var/www
WARNING: --rsh or -e option ignored when connecting to rsync daemon
Widyono wrote:
On Tue, Aug 17, 2004 at 06:15:41PM +0200, Lars E. D. Jensen wrote:
The warning tells me that it's not possibel to use ssh?!
I do this:
rsync -auz --delete --rsh=?ssh -l ssh_username
[EMAIL PROTECTED]::www /var/www
WARNING: --rsh or -e option ignored when connecting to rsync daemon
On Tue, Aug 17, 2004 at 06:15:41PM +0200, Lars E. D. Jensen wrote:
The warning tells me that it's not possibel to use ssh?!
Not to connect with an existing rsync daemon. The remote-shell option
tells rsync to spawn a remote-shell which runs a program (rsync).
However, to connect to an existing
On Sun, May 02, 2004 at 01:53:48PM -0500, Scott LeFevre wrote:
It appears that rsync is not reading the $HOME/rsyncd.conf.
That's because you didn't tell rsync to talk to a daemon. Switch from
single-colon to double-colon syntax if you want to do that.
..wayne..
--
To unsubscribe or change
On Tue 24 Feb 2004, Jacque Mergens wrote:
rsync -rsh=/usr/bin/ssh filename host:/dir/filename
But I am not able to perform this
rsync -rsh=/usr/bin/ssh filename host:module_name
No, because mdoules are only handled by the rsync daemon,
which is contacted via its own tcp port.
On Thu, 2004-02-19 at 04:25, huwybach wrote:
Sorry to 'bump' this one back to the list but I'm not clear - is there a
way of appending a password to an Rsync command argument or is this just
not possible/practical ?
It's generally not a good idea to have this kind of option, because the
Sorry to 'bump' this one back to the list but I'm not clear - is there a
way of appending a password to an Rsync command argument or is this just
not possible/practical ?
Thanks to all who replied with the SSH keys solution - I'll investigate
this over the weekend - but I'd like to see what
On Thu, Feb 19, 2004 at 12:25:37PM +, huwybach wrote:
is there a way of appending a password to an Rsync command argument[?]
No, rsync doesn't deal with remote-shell passwords at all. That's
entirely between you and your remote shell of choice.
Thanks to all who replied with the SSH keys
What you need to do it setup a key on the remote machine, a tutorial to do
this can be found at http://linuxproblem.org/art_9.html , hope this helps.
Steve Sills
Platnum Computers, President
http://www.platnum.com
[EMAIL PROTECTED]
- Original Message -
From: Huw Wyn Jones [EMAIL
On Mon, Nov 10, 2003 at 01:58:07AM +0100, Thomas Otto wrote:
So all I want is rsyncing files while preserving their _absolute_ paths
on the target machine which doesn't seem possible.
Check out the --relative (-R) option in the man page. That would let
you do something like this:
rsync -avR
On Mon, Nov 10, 2003 at 01:58:07AM +0100, Thomas Otto wrote:
Hi!
I am trying to do a IMHO rather trivial thing with rsync via ssh:
I have some files under /etc and some under /home/thomas, I want to
rsync just these to a remote PC with a similar setup where they should
end up in the
The broken ssh-basic test is fixed in the CVS version of rsync, but not in
2.5.6.
It should work in the next release of rsync. You can get the new test
from the rsync CVS server easily via the cvsweb interface:
Steve Bonds [EMAIL PROTECTED] wrote:
The broken ssh-basic test is fixed in the CVS version of rsync, but not in
2.5.6.
Yup, the ssh-basic test in the CVS version *does* work - I
just downloaded it and tried it.
It should work in the next release of rsync. You can get the new test
from the
2003-03-13T07:33:52 Reckhard, Tobias:
However, from the output of rsync -vvv ... on the client and sshd -d ...
on the server it appears to me that no command is passed to the sshd on the
server when uploading data.
I'm not sure about those techniques for finding it, I haven't tried
'em, but
[EMAIL PROTECTED](Steve Mallett) 23.12.02 08:52
Once upon a time Steve Mallett shaped the electrons to say...
Seems so.
The private key file MUST ONLY be readable to the user, no one
else. chmod 600
Rainer
Changing the perms to 600 did it. Tally Ho.
But of cause many of other files
[EMAIL PROTECTED](Steve Mallett) 22.12.02 16:32
Once upon a time Steve Mallett shaped the electrons to say...
I burned an .iso cd of the home dir of a server,
What kind? Jouliett?
Did you da a tar or cpio first to save all links
my .ssh files are there, but if I restore from the
cd using
On Sun, Dec 22, 2002 at 04:32:19PM -0400, Steve Mallett wrote:
I burned an .iso cd of the home dir of a server, my .ssh files are
there, but if I restore from the cd using rsync -azurvp
/mnt/cdrom/.ssh/* ~/.ssh the permissions seem screwy.
I'm trying to use my id_dsa ssh key to login to
Sure. Don't tell rsync to preserve permissions. This precludes the use
of the -p, and --permsoptions, and the -a, and --archive options,
which imply them. If your wording means that the permissions on the
source are not appearing on the destination, change precludes to
requires and and to
On 12 Mar 2002, C.Zimmermann [EMAIL PROTECTED] wrote:
The command I am using is:
rsync -avx --hard-links --links --ignore-errors --perms --devices
and the permissions on the source are not appearing on the destination
and the destination ssh-account has no root-rights.
Perhaps you mean
Sounds pretty useful. I think perhaps it would be better at the -vv level
though.
- Dave
On Thu, Jan 24, 2002 at 01:23:21PM +1100, Martin Pool wrote:
I think we should make rsync say something like this when -v is
specified:
rsync: Attempting connection using ssh -v samba.org rsync
2002-01-23-09:08:58 [EMAIL PROTECTED]:
David L Nickel schrieb am Wed, Jan 23, 2002 at 09:02:30AM -0500:
I added the enviroment variable RSYNC_RSH=ssh and every things seems to work
fine, but there is no way to tell if rsync is actually using ssh or not?
a. when in progress, watch top(1)
Ok, you're talking about ssh, and you're talking about a rsyncd. Except
in rare cases, you don't use ssh to access rsyncd. I'm guessing you're
doing something like
rsync -e ssh remotehost:www localdestinationdirectory
(-e ssh isn't needed if $RSYNC_SSH=ssh). drop the -e ssh and use TWO
got the message:
Method 'publickey' disabled.
I suspect my problems are to do with this.
Thanks,
Pete
- Original Message -
From: Dave Dykstra [EMAIL PROTECTED]
To: peter lindsay [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, October 17, 2001 10:47 PM
Subject: Re: ssh-rsync
Hi,
There's a help page on http://www.freebsddiary.org/secure-file-copy.php .
I hope it helps you.
The way to do it seems to be using ssh public-private keys, but I've tried
this a few times and can't get it to work.
I suspect that when my ssh was compiled, an option was left out.
Anyway,
On torsdag 22. mars 2001, 16:21, you wrote:
Hi Williams,
You were right, my sshd was not running on host2.
However, when I re-start sshd and run the command I am asked for a root
password.
When I run rsync with --rsh option I am NOT prompt for password.
How can I rsync with -e ssh without being
On 01-Dec-00 at 14:13:33 Adye, TJ (Tim) wrote:
I am trying to work out how I can use rsync with ssh but also
specifying the key to use. I want to run rsync/ssh via cron but need to
use different keys from the same account. With just ssh this is not a
problem - the -o option takes care of it.
On 01-Dec-00 at 14:59:38 John Horne wrote:
On 01-Dec-00 at 14:13:33 Adye, TJ (Tim) wrote:
I am trying to work out how I can use rsync with ssh but also
specifying the key to use. I want to run rsync/ssh via cron but need to
use different keys from the same account. With just ssh this is not
52 matches
Mail list logo