Hi,

Ive a small problem with dropbear running on Freebsd. Ive a small script
that does the following.

#!/bin/sh
# test.sh
#
SSH=/dropbear-0.49/dbclient
FILE=/tmp/mark.txt
$SSH -i $IDFILE [EMAIL PROTECTED] cat /etc/resolv.conf >  $FILE

Basically I want to get the contents of a file on a remote machine and
write it to a file on the local machine.

When i run the command from the command line it works however if i run the
following command 

daemon -cf /test.sh

The $FILE is created however the file is empty

FreeBSD 5.4
Dropbear client v0.49

Anyone any ideas

Mark

ps I know i could get around this problem with scp, but thats not the
answer im looking for

Reply via email to