I'm trying to execute a shell script that connects to other machine by ssh and execute a sql command. It works but always shows me warning like:
"stty: tcgetattr: Not a typewriter"
My shell script is like these:
... ssh -q -T -T $connection <<ENDSSH
sqlplus -s "user/pass@con" <<EOF
set heading off
select * from ...
EOF
ENDSSH
How could I remove it? Thanks