Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: support for agent on windows #1695

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

unsuman
Copy link
Contributor

@unsuman unsuman commented Jan 9, 2025

Windows Agent Support

Description

This PR gets running the Daytona agent on Windows.

  • This change requires a documentation update
  • I have made corresponding changes to the documentation

@unsuman
Copy link
Contributor Author

unsuman commented Jan 9, 2025

@Tpuljak The build now works but haven't tested my changes on Windows. What all things I need to test and how? Can you help me with that?

setConsoleWindowInfo.Call(uintptr(handle), uintptr(1), uintptr(unsafe.Pointer(&rect)))
}

func OsSignalFrom(sig ssh.Signal) os.Signal {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many signals are not available on Windows

@Tpuljak
Copy link
Member

Tpuljak commented Jan 10, 2025

@unsuman you will need to run the agent on windows and make sure that the ssh server works.

You can check how to run the agent here: https://github.com/daytonaio/daytona/blob/main/.vscode/launch.json#L15. You can use this debug configuration if you open the repo directly on a windows machine.

To make sure the ssh server works, you'll need to run successfully run ssh daytona@localhost -p 2222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants