I have opened a ssh session to remote computer using
ssh root@<ip>
I tried to run some program on remote machine. e.g.
tail -f /var/log/log.txt
But when i press ctrl-c or ctrl-z that program is not killed/suspended. I couldn't able to get control out of that process in terminal.