Is there any fix to the remote ssh terminal in linux hanging / not ending properly?

This has ALWAYS been an issue in antigravity, the remote ssh is totally unusable with the integrated IDE terminal.. The fix was to not use the integrated terminal (shell integration).
When will this be fixed, i like the terminal integration so i can actually see what the agent is doing on the terminal, but it’s still useless as it never comes back from an execution

it seems like the IDE doesn’t detect that the command is finished so it just hangs forever and the agent thinks it’s taking too long or it got backgrounded

HI Paul,

Are you trying to SSH into a docker container or a private server? If you’re trying to SSH into a docker container, I suggest either restarting the container or rebuilding it. If you’re attempting to connect to a server, you might want to try clearing your ‘known_host’ file in your .ssh folder prior to connecting. Otherwise, you can also try reinstalling OpenSSH on your computer. The instructions will vary depending on which OS you’re running:

Windows:

  1. Right-click the Start button and select Windows Terminal (Admin) or Windows PowerShell (Admin).

  2. Run the following commands to uninstall the Client and Server:

# Uninstall OpenSSH Client
Remove-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0

  1. Once the uninstallation is complete, run the following commands to reinstall them:

# Reinstall OpenSSH Client
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0

Linux:

  1. Open your terminal (Ctrl + Alt + T).

  2. Run the reinstall command for both the client and server:

    Bash

    sudo apt-get update
    sudo apt-get --reinstall install openssh-client
    

I hope that helps!

-Ray

Uh, your reply makes no sense. The IDE remote-ssh into a remote system and fires up its own server there which then opens terminals locally and has nothing to do with what you reported. The terminals the agent opens to run commands hang indefinitely, this is the bug. It doesn’t seem to report back to the IDE/agent chat that it finished the command

This still isn’t working.. it runs a command, the command runs but it never returns a completion to the agent so it just sits there forever.. this is remote ssh to linux , which worked fine in the agent manager before with shell integration disabled but now the agent manager does not have remote ssh.. so this has literally been busted since 2.0 released