What does "Rerun job with ssh" option do?

I have the following picture


If I press “rerun job with ssh” then something starts happening on page, some commands start running and so on, but I need to stay on page if I want to see the process. If I go out of page, then I can find the ongoing process anymore.

Is this by design?

This is expected behaviour. The Rerun Job with SSH feature is intended to set up an SSH connection in order to connect to the container and debug your builds. You can read more about how to do this here:

Debugging with SSH - CircleCI

If you have triggered a job to run with SSH and have navigated away from the job, you can view the job in the jobs list:


I hope that helps!