Resin ssh throwing the input device is not a TTY error

I am looking to automate the log read and I am looking to achieve something like this. On running this I am gettin “the input device is not a TTY”. How can I fix this?

resin ssh $UUID << EOF
tail -f /dev/shm/poller-debug.log
EOF

Hi @dineshjakkam, it looks like you’re trying to automatically run a script through resin ssh, is that right? I’m afraid that right now that’s not supported in the CLI. I have added a note to our internal tracking for this feature request though. We’re definitely considering at adding support for that in future, but we don’t have a specific ETA right now.

Thanks.