ssh aus cron-script

Andre Landwehr andre.landwehr at gmx.net
Mon Apr 22 22:45:03 CEST 2002


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 

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

Andre

--
 /"\
 \ /
  X  ASCII Ribbon campaign against HTML E-Mail
 / \

-------------- 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/20020422/3a411aec/attachment.sig>


More information about the Linux mailing list