I am very new to Shell scripting. Currently I am trying to write the Shell Script which should create some dirs on my remote server and then it should use the scp to copy the files from the local pc on the remote server.
But whenever I try to run it I get below message:
“Pseudo-terminal will not be allocated because stdin is not a terminal.”
And my script hangs after the message. How to fix above message?