Skip to content

How to authenticate with OpenCode when running on a remote server via VS Code? #12061

@mensylisir

Description

@mensylisir

Question

Description:

Hi there,
I am currently using OpenCode on a remote server. My setup involves connecting to the server from a local Windows machine using VS Code (Remote-SSH).
I would like to know how to complete the authentication process in this remote environment. Since I am accessing the server through a remote terminal/VS Code, the typical browser-based authentication flow might not work as expected.
Could you please provide guidance or the recommended steps for authentication in this specific setup?

Environment:

  • Local OS: Windows
  • IDE: VS Code (Remote Development)
  • Remote OS: Linux (Server)
  • Tool: OpenCode
    Thank you!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions