Skip to content

Can opencode ssh into and access a remote machine #4780

Closed

Description

@sai-sy

Question

If I ask opencode (gpt-5-codex) to run openMySSH command which has my creds preloaded, will it be able to run that command and then work on the remote machine?

Activity

  1. github-actions commented on Nov 26, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. sai-sy commented on Nov 26, 2025

    @sai-sy
    ContributorAuthor

    Actually just tried it and got ths. Maybe a good feature request:

    openTMUServer -w opens an interactive remote shell, but from this environment I can’t stay inside that session to run
    additional commands (like cat s27syed.cnf). If you can provide a non-interactive command (e.g., ssh ... 'cat s27syed.cnf') or
    the file’s content/path directly, I can help from there.

  3. benceferdinandy-signifyd commented on Nov 26, 2025

    @benceferdinandy-signifyd

    you can prefix any command with ssh and it will be executed on the machine. I had a Sonnet session that navigated a server without any issues after I told it how to ssh into it.

  4. itsanishjain commented on Feb 12, 2026

    @itsanishjain

    That's super strange Claude Code can easily do this kind of stuff.

  5. github-actions commented on Apr 14, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions