Hi Guys!
Small help required here please, I'm doing automation with UDP but when I'm doing ssh some times instead the output I got
I00020133: Pseudo-terminal will not be allocated because stdin is not a terminal, so to avoid this I force the terminal by add into the ssh comant multiple -t as result I got the error "E03020134: tcgetattr: Invalid argument."
Example of this:
ssh -q -tt ${PRODID}@${JSERVER} "
ssh -q -tt ${PRODID}@${MyServer} 2>/dev/null << EOF
sudo -u someuser /opt/someuser/someplace/instance_name/bin/tcruntime-ctl.sh start
exit
EOF 2>&1"
Whit single -t or none I got "I00020133: Pseudo-terminal will not be allocated because stdin is not a terminal"
With multple -tt or -ttt i got "E03020134: tcgetattr: Invalid argument."
But if I run directly from terminal the script is able to pullback all output, this only happen when calling since harvest GUI
Regards and thanks.