ssh batch troubles

Howard Lowndes lannet at lannet.com.au
Wed Dec 11 20:37:06 EST 2002


I am having problems running ssh in a batch job, specifically a cron
script.  I am trying to pass a command to another box using ssh.

I have tried the -n and -o "BatchMode yes" options to ssh but the job
hangs just before it is due to close.

Running the script from the command line works OK.

Any clues?

-- 
Howard.
LANNet Computing Associates - Your Linux people
Contact detail at http://www.lannetlinux.com
"Flatter government, not fatter government." - me
 Get rid of the Australian states.
------------------------------------------
If electricity comes from electrons, does morality come from morons?





More information about the linux mailing list