I m getting an error after executing the script.
Script is used to find out the date on 8 different machines(mentioned in SERVERNAMES file).
I have added public key to avoid ssh password and ssh without password working fine.
Date=`ssh -t -t -q root@$1 date`
while read line
done < SERVERNAMES
There are total 8 Server IP addresses mentioned in SERVERNAMES file.
tcgetattr: Inappropriate ioctl for device
Thu Jul 8 13:59:13 IST 2010
It shows Date on Only first server.
What can be the issue?