cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Agent freezes when running bash commands on via ssh (REMOTE SSH app)

Open rmalla opened this issue 9 months ago • 2 comments

I am connected through my windows computer to an ubuntu server on the cloud.

SSH keys are working and everything works great manually. When i run the agent and it tries to run a bash command, like mkdir, mv, sometimes ls. cursor freezes and when i go to the server and do Top. i see a bash script consuming 100% of the cpu.

I have been hours trying to troubleshoot this to no avail.

I can run the same commands from the cursor terminal, it is just the agent.

I have kind of dribbled along an error with the current display size of the emulated ssh terminal

When i tell the agent to run

stty size it returns 1 180.

which apparently may be the problem, but I cannot seem to configure the agent to run proper ssh commands.

note that this behaviour repeats along several different ubuntu server.

rmalla avatar Apr 03 '25 18:04 rmalla

I see the same behavior on my installation with SSH to Ubuntu

terkilddk avatar Apr 05 '25 17:04 terkilddk

Also seeing this. I use SSH + dev container on an ubuntu machine

cmditch avatar Apr 18 '25 20:04 cmditch

I am seeing this with a Vagrant VM as well.

AndrewGable avatar Jun 11 '25 23:06 AndrewGable

Guys at cursor - this is REALLY annoying. My servers are losing 25% capacity due to this.

Don-Chad avatar Jul 01 '25 15:07 Don-Chad

this makes leaving the agent and going for a coffee impossible. It also forces me to keep telling the agent "agent hanged, just continue, here is the last output". fix this and give the world x10 productivity

there is a fix for zsh/mac users but I am using WSL on Win11. no idea how to apply this workaround.

please fix this, it's the only thing that's making cursor unusable

noamzilo avatar Aug 05 '25 16:08 noamzilo