I have Ubuntu 12.04 Server at virtual machine and installed OpenSSH server on it. I have simple script with whiptail
#!/bin/sh
whiptail --title "Example dialog" --infobox "TTTTTT" 8 78
On server this script is working and i seen the infobox. But in SSH session i have no output.
user@ubuntu:~$ ./script
user@ubuntu:~$ ./script
user@ubuntu:~$
Bash script using dialog doesn't working on server.
How i can create visual menu script working in SSH session?
whiptail seems to be buggy displaying infoboxes on certain terminals (see How to display infobox in whiptail?). Maybe you can try a --msgbox instead to verify your script works
whiptail --title "I am the title" --msgbox "Hi there" 8 45