Terminal Shell Timed Out

Last Updated : Jul 19, 2020 |

Condition

During an installation you are disconnected from your terminal.

Cause

The session timed out. Use the Linux "screen" utility to run the installation in the background.

Solution

Procedure

  1. To resume the installation after losing the SSH session, run:
    $ screen
    [screen 0] $ ccm install resume
    <CTRL-a> d

    <CTRL-a> d detaches from the screen session and allows the installation to continue in the background.

  2. To reattach to the installation screen session:
    1. At the CCM prompt, type screen -ls to retrieve the screen id of the session.
    2. Type screen -r <screen id> to reattach to the installation screen session.