this is my shell script
#!/bin/bash
echo "Content-type: text/plain"
echo ""
sshpass -p $pass ssh -v -p $port -t -o StrictHostKeyChecking=no root@$ip "cd / && ls && exit"
can be executed via web can be executed via command line
when executed via command line i see lots of output.. including debug info from "-v" ( verbose mode ) and etc.
but when executed via web.. all i see is the listing of folders. ( executed command's output )
no other data..
why is the extended data missing when i execute this script via web ? why is it there when i execute it via command line ?
how can i make sure it is also there when executed via web ?