I am trying to execute a statement to retrieve some information from remote Linux server using telnet command. I am able to connect to remote server but unable to pass next statement to retrieve information.
I am posting my code (after replacing sensitive data)
However the response from the remote server should be "I am fine"
output.JPG
This is the output I am getting, However the connection is still open