Summary: SSH hangs from cron on Solaris 9

From: Stephen Barnett (DSL AK) <StephenB_at_datacom.co.nz>
Date: Wed Jan 26 2005 - 16:58:15 EST
Hi,

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: sunmanagers-bounces@sunmanagers.org
[mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Stephen
Barnett (DSL AK)
Sent: Thursday, 27 January 2005 10:13 a.m.
To: sunmanagers@sunmanagers.org
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
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Jan 26 16:58:46 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:42 EST