1 |
On Fri, 25 Nov 2005 19:27:08 -0700 |
2 |
Joseph <syscon@×××××××××.com> wrote: |
3 |
|
4 |
> On Sat, 2005-11-26 at 00:05 +0000, Neil Bothwick wrote: |
5 |
> > On Fri, 25 Nov 2005 15:51:34 -0700, Joseph wrote: |
6 |
> > |
7 |
> > > Got it! I was missing "e" |
8 |
> > > rsync -ave ssh --delete source/.. .. .. |
9 |
> > |
10 |
> > You don't need -e or ssh, rsync uses ssh as its remote shell by default. |
11 |
> > |
12 |
> > rsync -av --delete source/ ... would do exactly the same. |
13 |
> |
14 |
> That was my impression too but when I tried it without "e" it gave the |
15 |
> the error: |
16 |
> rsync -av ssh --delete source/ joseph@10.0.0.101:/home/joseph/destination |
17 |
> building file list ... link_stat "/home/joseph/ssh" failed: No such file or directory |
18 |
> |
19 |
> When I added "e" it deleted the file on destination, and no errors |
20 |
> showed up. |
21 |
|
22 |
no, when you did it you specified that it was to copy a file called |
23 |
ssh. just leave ssh out altogether. |
24 |
|
25 |
if you want to specify the remote shell to use, specify it with -e ssh, |
26 |
if you want to rely on the default, leave out -e, and leave out "ssh" |
27 |
unless you really DO want to copy a file called ssh. |
28 |
|
29 |
|
30 |
|
31 |
> |
32 |
> -- |
33 |
> #Joseph |
34 |
> -- |
35 |
> gentoo-user@g.o mailing list |
36 |
> |
37 |
-- |
38 |
gentoo-user@g.o mailing list |