I am unable to exit my script that uses ssh to login to a remote server
Good day,
I need help on resolving this issue. I wrote a script which logs to a remote server using ssh to run some commands. Upon exiting the remote server, the session just hangs. I can't even break (ctrl-c) the session. I tried adding zero (0) to the exit of the script but still it hangs. This happens after I run the java program on the remote machine. But if I just try to use the other options its fine, it exits with no problem.
Please help
|