Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I am access my linux box remotely using putty. I ran some build process on the remote machine. I lost my connection and now I had to re login ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    2

    Reconnecting to server from Putty


    Hi,
    I am access my linux box remotely using putty. I ran some build process on the remote machine. I lost my connection and now I had to re login using putty. I dont know if my process has finished or not. How will I check that.

    Thanks

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,412
    You dont give too much detail about what build process that is,
    but you could check, if the expected result is there. (whatever that is in your case)

    Other than that, each process started via a remotely connected shell will die, once the connection breaks.
    Unless the process has been properly detached.
    Like starting a daemon, or using screen.
    You must always face the curtain with a bow.

  3. #3
    Linux Engineer Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    773
    +1 Irithori

    1. start screen:
    $ screen
    2. do operation:
    $ start_long_operation
    3. (optionally) detach with key combo:
    CTRL + A, D
    4. if connection broke or you have detached, reattach:
    $ screen -r
    More information can be found here:
    $ man screen
    If that build process takes really long it most probably has been interrupted and should be started again, just to be sure.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •