All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to execute bash script on remote server via local bash script? :D
Another frustrating question/topic title, sorry.
I am connecting thru KiTTY (improved PuTTY) terminal app into Linux CentOS 6 server 1 where i run bash script which is executing another bash script located on remote server (same OS - Linux CentOS6). I do it via SSH command inside first server bash script:
ssh -p 22 remoteuser@remoteIP "/bin/bash /home/remoteuser/remotescript 1820 184.108.40.206 220.127.116.11"
...you can see i am adding parameters $1 $2 $3 to that script
i expect to see interactive output of that remote script (prompts) - i made that remote script to prompt in case it is missing any of the parameters, but it says:
TERM environment variable not set.
and prints some outputs of that remote script and the output looks like if the parameters was not recoded/accepted.
Any idea what i should define in the script (which one) and or if the ssh command should be otherwise please?