ssh aus cron-script

Florian Lohoff flo at rfc822.org
Tue Apr 23 00:00:03 CEST 2002


On Mon, Apr 22, 2002 at 10:44:15PM +0200, Andre Landwehr wrote:
> Hi,
> ich versuche aus einem cron-script heraus per ssh Daten zu einem
> anderen Rechner zu schicken, ob per scp eine temporäre Datei oder
> direkt durch ssh pipen ist mir dabei egal. Das Problem ist, das
> jegliche Variante von "scp /tmp/myfile remote.host.de:" zwar auf
> der Kommandozeile funktioniert aber aus dem cron script heraus
> daneben geht mit: 
> ppp0      Link encap:Point-to-Point Protocol                                    
> Permission denied (publickey,keyboard-interactive).                             
> lost connection 

Du machst da komische sachen ...

> Auch ein -oBatchMode=yes, ein -n, -f oder -t brachten keinerlei
> Verbesserung. Beim Pipe-Versuch dasselbe. Hat jemand eine Lösung?

Kannst du mal dein crontab eintrag und evtl das ganze script hier
verkuenden ?

Ich habe massenweise cron scp/ssh scripte laufen - Ohne probleme.

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-5201-669912
Nine nineth on september the 9th              Welcome to the new billenium
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20020423/ede2a195/attachment.sig>


More information about the Linux mailing list