# VS Code Remote-SSH connection hangs on Bamboo

**URL:** <http://hpc-community.unige.ch/t/vs-code-remote-ssh-connection-hangs-on-bamboo/4383>\
**Category:** HPC issues\
**Tags:** bamboo\
**Created:** [September 18, 2026, 9:20am UTC](http://hpc-community.unige.ch/t/vs-code-remote-ssh-connection-hangs-on-bamboo/4383 "2026-09-18T09:20:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josep.Garnicacaparros](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/j/f04885/32.png) [@Josep.Garnicacaparros](http://hpc-community.unige.ch/u/Josep.Garnicacaparros)\
**Post date:** [September 18, 2026, 9:20am UTC](http://hpc-community.unige.ch/t/vs-code-remote-ssh-connection-hangs-on-bamboo/4383/1 "2026-09-18T09:20:42Z")

</div>

Dear Support Team,

I am having an issue connecting to the Bamboo cluster via VS Code Remote-SSH.

SSH access itself works normally, but the VS Code Remote-SSH connection hangs after successfully starting the remote VS Code Server. The Remote-SSH log reaches:

```auto
listeningOn==127.0.0.1:XXXXX==
...
<commit> : end

```

and then remains stuck at:

```auto
SSH tunnel message: Connected to SSH Host - Please do not close this terminal

```

I have checked the following:

- Regular SSH connection to `login1.bamboo.hpc.unige.ch` works normally.

- SSH authentication works with my Ed25519 key.

- The remote VS Code Server starts successfully and remains alive.

- The server listens on `127.0.0.1` on the reported port.

- Manual SSH local port forwarding works.

- For example, the VS Code server was listening on `127.0.0.1:36823`, and:

- I also tested this after completely moving `~/.vscode-server` aside and allowing VS Code to perform a fresh installation, with exactly the same problem.

Current environment:

- macOS
- VS Code 1.138.0
- Remote-SSH extension 0.128.0
- Remote OS: Rocky Linux x86\_64
- Bamboo: `login1.bamboo.hpc.unige.ch`
- User: `garnicac`

Could you please help determine why the Remote-SSH client cannot complete the connection/handshake after the remote server has started?

I can provide the full Remote-SSH log if needed.

Best regards,  
Josep

---

<div class="post-metadata">

**Author:** ![Josep.Garnicacaparros](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/j/f04885/32.png) [@Josep.Garnicacaparros](http://hpc-community.unige.ch/u/Josep.Garnicacaparros)\
**Post date:** [September 22, 2026, 8:09am UTC](http://hpc-community.unige.ch/t/vs-code-remote-ssh-connection-hangs-on-bamboo/4383/2 "2026-09-22T08:09:06Z")

</div>

After further investigation, I found that several processes belonging to my user on `login1` are stuck in uninterruptible `D` (disk sleep) state. For example:

```auto
PID State wchan
1898805 D __access_remote_vm
2029475 D __access_remote_vm
2885950 D __access_remote_vm
2915219 D __access_remote_vm

```

These are mostly `ps` processes that appear to have been spawned during the VS Code/Remote-SSH diagnostics. They cannot be terminated even with `kill -9`.

I also tested:

```auto
timeout 5 ps -fu "$USER"

```

which hangs and eventually times out, only returning my normal `systemd --user` processes.

This seems to indicate that there may be an issue at the login-node/filesystem/kernel level rather than with VS Code itself. This is also consistent with some recent problems I have experienced on Bamboo with Git processes returning `Bus error`/signal 7.

The original VS Code issue remains unchanged: SSH works normally, the remote VS Code Server starts and listens successfully, and the SSH tunnel can be established manually, but the Remote-SSH connection never completes.

Could you please check whether there is an issue with my session/processes on `login1`, or with the underlying filesystem/node, and whether the stuck `D`-state processes can be cleared?

I have not tried to kill the systemd user-session processes or otherwise terminate unrelated jobs.

Thank you for your help!

---

<div class="post-metadata">

**Author:** ![Aurelie.Kamoun](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@Aurelie.Kamoun](http://hpc-community.unige.ch/u/Aurelie.Kamoun)\
**Post date:** [September 23, 2026, 2:26pm UTC](http://hpc-community.unige.ch/t/vs-code-remote-ssh-connection-hangs-on-bamboo/4383/3 "2026-09-23T14:26:58Z")

</div>

Hello, just wanted to say i confirm the exact same issues: VS code remote ssh never completing connection + ps -ef command hanging.

The `ps -ef` hangs indefinitely reading `/proc/1457906/cmdlin`. Is there a way to do something about this process PID 1457906 (owned by simionat)?

---

<div class="post-metadata">

**Author:** ![Gael.Rossignol](http://hpc-community.unige.ch/user_avatar/hpc-community.unige.ch/gael.rossignol/32/206_2.png) [@Gael.Rossignol](http://hpc-community.unige.ch/u/Gael.Rossignol)\
**Post date:** [September 23, 2026, 3:02pm UTC](http://hpc-community.unige.ch/t/vs-code-remote-ssh-connection-hangs-on-bamboo/4383/4 "2026-09-23T15:02:08Z")

</div>

Dear users,

It seems some computation was launched on the login node, so I killed the process. **`login1.bamboo`** is now back in a good state.

```auto
  Avg[|| 0.1%] Tasks: 357, 781 thr, 2409 kthr; 0 running
  Mem[|||||||||||||||||||| 20.6G/504G] Load average: 45.44 2083.97 5703.49
  Swp[|||| 78.4M/4.00G] Uptime: 7 days, 04:48:25

```

Could you please confirm that everything is working properly on your end?

Best regards,

---

<div class="post-metadata">

**Author:** ![Josep.Garnicacaparros](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/j/f04885/32.png) [@Josep.Garnicacaparros](http://hpc-community.unige.ch/u/Josep.Garnicacaparros)\
**Post date:** [September 23, 2026, 3:09pm UTC](http://hpc-community.unige.ch/t/vs-code-remote-ssh-connection-hangs-on-bamboo/4383/5 "2026-09-23T15:09:59Z")

</div>

Thanks a lot Gael. It works now on my side

---

<div class="post-metadata">

**Author:** ![Aurelie.Kamoun](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@Aurelie.Kamoun](http://hpc-community.unige.ch/u/Aurelie.Kamoun)\
**Post date:** [September 29, 2026, 2:12pm UTC](http://hpc-community.unige.ch/t/vs-code-remote-ssh-connection-hangs-on-bamboo/4383/6 "2026-09-29T14:12:11Z")

</div>

Dear Gael,

For me the remote-ssh from vs code to bamboo is still not working, and is hanging when trying to read a thread (1839212) in D state. Indeed, the vscode remote cli looks for an already-running vscode server by reading the command line of every process and thread on bamboo node. And it blocks when it reaches that thread. It is still related to the same pid i mentionned earlier:  
simionat 1457906 1 0 Sep17 ? 00:00:03 [codex]   
Can you please kill it?  
Thank you for your help!

---

<div class="post-metadata">

**Author:** ![Adrien.Albert](http://hpc-community.unige.ch/user_avatar/hpc-community.unige.ch/adrien.albert/32/188_2.png) [@Adrien.Albert](http://hpc-community.unige.ch/u/Adrien.Albert)\
**Post date:** [September 30, 2026, 12:56pm UTC](http://hpc-community.unige.ch/t/vs-code-remote-ssh-connection-hangs-on-bamboo/4383/7 "2026-09-30T12:56:03Z")

</div>

Login1 has been rebooted, it should work again

---

<div class="post-metadata">

**Author:** ![Aurelie.Kamoun](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@Aurelie.Kamoun](http://hpc-community.unige.ch/u/Aurelie.Kamoun)\
**Post date:** [September 30, 2026, 12:59pm UTC](http://hpc-community.unige.ch/t/vs-code-remote-ssh-connection-hangs-on-bamboo/4383/8 "2026-09-30T12:59:00Z")

</div>

I confirm it works! Thank you very much!
