I use putty to login to the server via ssh. This creates a session locally; meaning if I disconnect from putty, the session is lost.Is there any way that the session can keep running and be accessible from putty or any other client ?Or is there any other protocol or tool which can help out in this?
How to start remote command line session?
ssh
The tool screen is the tool that could help you. It executes a new shell. This new shell is not killed when the terminal is disconnected and it is possible to attach to this shell after reconnection. The usage for keeping session across terminal connections is easy. To start a new session type $ screenNow you can terminate the putty. When you reconnect the you can attach to the existing session$ screen -rActually the screen is able to do much more. See https://www.gnu.org/software/screen/manual/screen.html