Hi, I have a question about OpenDevin. Does OpenD...
# questions
b
Hi, I have a question about OpenDevin. Does OpenDevin support connecting to and executing tasks on a remote or local machine via SSH, similar to what Cursor AI or Windsurf currently offer? Thanks in advance!
c
Hey! You can tell the agent to do it, add secrets for it to use if needed, and it should do it
I'm not sure how Cursor or Windsurf are doing it, could you perhaps tell how does it work
b
Cursor AI – SSH Remote Connection Purpose: Cursor allows you to connect to a remote server via SSH to edit files, run code, and use the terminal as if you were working locally. How it generally works: 1. SSH Setup: 2. You set up the remote server in your local SSH config (
~/.ssh/config
) or connect directly using commands like
ssh user@host
. 3. Cursor Integration: 4. Through its “Remote Workspace” feature, Cursor can mount the project folder over SSH, letting you access remote files as if they were on your local machine. 5. Agent Usage: 6. Sometimes, Cursor installs its own agent on the remote machine or integrates with tools like
code-server
. 7. Command Execution: 8. You can run commands directly from Cursor’s terminal on the remote server (e.g.,
npm install
,
python script.py
). Windsurf – SSH Agent Connection Purpose: Windsurf lets AI agents connect to remote machines over SSH to execute commands and run code remotely. How it generally works: 1. SSH Credentials Provided: 2. You supply the SSH connection details (host, port, username, private key) via the interface or config files. 3. Agent Runs Remotely: 4. The AI agent connects via SSH and executes scripts or accesses system resources on the remote machine. 5. Security: 6. SSH keys are typically used for authentication. Password-based login is usually not supported or recommended.
c
I see, thank you!
You can just tell the agent to do it, it knows how to use ssh after all