# Rootssh is really slow to start up

**URL:** <https://root-forum.cern.ch/t/rootssh-is-really-slow-to-start-up/65033>\
**Category:** Newbie\
**Created:** [October 20, 2026, 1:44pm UTC](https://root-forum.cern.ch/t/rootssh-is-really-slow-to-start-up/65033 "2026-10-20T13:44:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmcgover](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rmcgover/32/26948_2.png) [@rmcgover](https://root-forum.cern.ch/u/rmcgover)\
**Post date:** [October 20, 2026, 1:44pm UTC](https://root-forum.cern.ch/t/rootssh-is-really-slow-to-start-up/65033/1 "2026-10-20T13:44:32Z")

</div>

* * *

_ROOT Version:_ 6.40.04 (`conda-forge/linux-64::root-6.40.04-py314h3550fcc_1`)  
_Platform:_ Ubuntu (WSL 2.0)  
_Compiler:_ Not Provided

* * *

I’m running ROOT from conda on WSL Ubuntu. I would like to use the interactive browser to look through ROOT files on a remote node. It’s my understanding that the officially supported method for this is via the `rootssh` script.

(As an aside, I can’t find any “official” documentation saying this. ROOT instructs me to `Find more info on https://root.cern/for_developers/root7/#rbrowser`, which leads to a 404, but the page exists on [archive.org](http://archive.org).)

For some reason it takes 2.5 minutes for the `rootssh` script to complete and remote in.

I timed the login process with

```bash
echo "local $(date --iso-8601=seconds)" \
  && rootssh -v lxplus.cern.ch 'echo remote $(date --iso-8601=seconds)' \
  && echo "local $(date --iso-8601=seconds)"

```

Based on the verbose `ssh` output and the timing of the `Use local port ...` echo statement in `rootssh`, almost all of the time is spent earlier in the actual `rootssh` script and not in `ssh` itself, which only takes a few seconds; if I replace `rootssh` with `ssh` the whole thing executes in 2 seconds.

Am I missing an argument or something? I looked at the `rootssh` script itself (`cat $(which rootssh)`) and I don’t see an obvious reason why it would take so long to execute.

I’m going to try inserting some debug statements into the script to see what’s taking so long here…

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [October 20, 2026, 1:55pm UTC](https://root-forum.cern.ch/t/rootssh-is-really-slow-to-start-up/65033/2 "2026-10-20T13:55:02Z")

</div>

Hi,

The only chance to understand that happens with `rootssh` - is trying to debug it.

You can copy it to any local directory and add debug output (like `echo "something"`) in different places. It can be `nc` process (see around line 54) which listen on special socket receiving commands from remote root process. Or it can be probing of available http port on local machine (see line 162). In last case you can select preferable http port to prevent such probing. Like:

```auto
[shell] ./rootssh --port 7788 user@remote.host

```

Just try and probably you will be able find hanging part.

Regards,  
Sergey

---

<div class="post-metadata">

**Author:** ![rmcgover](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rmcgover/32/26948_2.png) [@rmcgover](https://root-forum.cern.ch/u/rmcgover)\
**Post date:** [October 22, 2026, 9:21am UTC](https://root-forum.cern.ch/t/rootssh-is-really-slow-to-start-up/65033/3 "2026-10-22T09:21:19Z")

</div>

Hi Sergey,

I tested and the `nc` command is what’s taking forever. I’ll provide `--port` manually from now on.

Regards,  
Bobby
