[linux-l] Passwort bei rsync

Achim Pabel Achim.Pabel at gmx.de
Fr Sep 30 10:26:32 CEST 2011


> RTFM:
Solltes Du selbst tun, dann weist Du wofür eine Mailingliste eingerichtet wurde. Mit Sicherheit nicht für solche Kommentare.
Ende der Diskussion.

-

Am Donnerstag, 29. September 2011, 22:41:21 schrieb Olaf Radicke:
> RTFM:
>  
>  
>  -e, --rsh=COMMAND
>               This option allows you to choose an alternative remote shell
> program to use for communication between the local and remote copies of rsync.
>               Typically, rsync is configured to use ssh by default, but you may
> prefer to use rsh on a local network.
> 
>               If this option is used with [user@]host::module/path, then the
> remote shell COMMAND will be used to run an rsync daemon on the remote host,
>               and all data will be transmitted through that remote shell
> connection, rather than through a direct socket connection to  a  running  rsync
>               daemon on the remote host.  See the section "USING RSYNC-DAEMON
> FEATURES VIA A REMOTE-SHELL CONNECTION" above.
> 
>               Command-line arguments are permitted in COMMAND provided that
> COMMAND is presented to rsync as a single argument.  You must use spaces (not
>               tabs or other whitespace) to separate the command and args from
> each other, and you can use single- and/or double-quotes to preserve spaces
>               in  an  argument (but not backslashes).  Note that doubling a
> single-quote inside a single-quoted string gives you a single-quote; likewise
>               for double-quotes (though you need to pay attention to which
> quotes your shell is parsing and which quotes rsync is parsing).   Some  exam‐
>               ples:
> 
>                   -e 'ssh -p 2234'
>                   -e 'ssh -o "ProxyCommand nohup ssh firewall nc -w1 %h %p"'
> 
>               (Note that ssh users can alternately customize site-specific
> connect options in their .ssh/config file.)
> 
>               You can also choose the remote shell program using the RSYNC_RSH
> environment variable, which accepts the same range of values as -e.
> 
>               See also the --blocking-io option which is affected by this
> option.
> 
> 
>  
> 
> Boris Kirkorowicz <boris-ml07 at kirk.de> hat am 29. September 2011 um 22:29
> geschrieben:
> 
> > Hallo,
> > ich möchte per rsync regelmäßig automatisiert Sicherungen machen auf
> > mein NAS. Manuell funktioniert das auch, aber dabei wird stets das
> > Passwort interaktiv angefordert. Wie kann ich das so automatisieren,
> > ohne das Passwort im Klartext im Script ablegen zu müssen? Kann man
> > vielleicht mit Schlüsseln hantieren wie bei ssh?
> >
> >
> > --
> >
> > Mit freundlichem Gruß                                 Best regards
> >                            Boris Kirkorowicz
> >
> > _______________________________________________
> > linux-l mailing list
> > linux-l at mlists.in-berlin.de
> > Die Mailingliste der BeLUG (Berliner Linux User Group)
> >
> > Wenn du diese Mailingliste  abbestellen willst, gehe bitte auf
> > https://mlists.in-berlin.de/mailman/listinfo/linux-l-mlists.in-berlin.de
> > und trage dich dort bitte aus
> >
> 
> 
> 
> Boris Kirkorowicz <boris-ml07 at kirk.de> hat am 29. September 2011 um 22:29
> geschrieben:
> 
> > Hallo,
> > ich möchte per rsync regelmäßig automatisiert Sicherungen machen auf
> > mein NAS. Manuell funktioniert das auch, aber dabei wird stets das
> > Passwort interaktiv angefordert. Wie kann ich das so automatisieren,
> > ohne das Passwort im Klartext im Script ablegen zu müssen? Kann man
> > vielleicht mit Schlüsseln hantieren wie bei ssh?
> >
> >
> > --
> >
> > Mit freundlichem Gruß                                 Best regards
> >                            Boris Kirkorowicz
> >
> > _______________________________________________
> > linux-l mailing list
> > linux-l at mlists.in-berlin.de
> > Die Mailingliste der BeLUG (Berliner Linux User Group)
> >
> > Wenn du diese Mailingliste  abbestellen willst, gehe bitte auf
> > https://mlists.in-berlin.de/mailman/listinfo/linux-l-mlists.in-berlin.de
> > und trage dich dort bitte aus
> >
> _______________________________________________
> linux-l mailing list
> linux-l at mlists.in-berlin.de
> Die Mailingliste der BeLUG (Berliner Linux User Group)
> 
> Wenn du diese Mailingliste  abbestellen willst, gehe bitte auf
> https://mlists.in-berlin.de/mailman/listinfo/linux-l-mlists.in-berlin.de
> und trage dich dort bitte aus




Mehr Informationen über die Mailingliste linux-l