SSH plugin instability


I have a SSH plugin and Iam using it to run commands through my tapplan. Now i have a command as “ -o” this commands output is quite big and takes a wait time in between the output and this is the command that never ends until we kill it. So , two main problems I am facing is first SSH plugin is not capturing the output properly, like sometime it will not read any output or even if it reads its just half output and so never find the expected value . also, in my console window I see the output of SSH commands only after command is completed and not as running…
Can anyone please advise.