Summary: SSH hangs from cron on Solaris 9
2007-12-25 4:28:00
It turns out that it's a stdin issue. The following command works:
echo "mkdir -p /mnt/backup/sxsppdb01" | ssh sxsprdb01
Thanks to Doc G, you weren't too far off the mark afterall.
Cheers,
Stephen
-----Original Message-----
From: codeprof-bounces at codeprof.com
[mailto:codeprof-bounces at codeprof.com] On Behalf Of Stephen
Barnett (DSL AK)
Sent: Thursday, 27 January 2005 10:13 a.m.
To: codeprof at codeprof.com
Subject: SSH hangs from cron on Solaris 9
Hi,
I have just discovered that a command that runs fine from command line:
ssh sxsprdb01 "mkdir -p /mnt/backup/sxsppdb01"
Hangs when run from cron.
SSH 3.9p1 / Solaris 9 Generic_117171-09
Any thoughts?
Thanks,
Stephen W. Barnett
Systems Consultant - Unix Division
Datacom Systems Limited
Auckland
New Zealand
_______________________________________________
codeprof mailing list
codeprof at codeprof.com
http://www.codeprof.com/execute/ask/?codeinfoid=34472
Comments
Got something to say?
You must be logged in to post a comment.

