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

feat: options flag in dtn ssh #1275

Merged
merged 6 commits into from
Oct 22, 2024
Merged

Conversation

divanshu-go
Copy link
Contributor

@divanshu-go divanshu-go commented Oct 18, 2024

feat: options flag in dtn ssh

Description

This PR introduces support for the -o flag in the dtn ssh command, enabling users to supply SSH options in the KEY=VALUE format, similar to how native SSH handles it. This feature enhances the flexibility of the dtn ssh command by allowing users to pass multiple SSH options as needed.

Key points:

  • Users can now provide SSH options in the KEY=VALUE format, just like with the native ssh command.
  • This update supports both single and multiple options.

Examples:

  • For multiple options:
    dtn ssh -o Compression=yes -o LogLevel=DEBUG
  • For a single option:
    dtn ssh -o Compression=yes

Checklist:

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

Related Issue(s)

Closes #1208

Screenshots

If relevant, please add screenshots.

@divanshu-go divanshu-go requested review from a team as code owners October 18, 2024 15:08
pkg/cmd/workspace/ssh.go Outdated Show resolved Hide resolved
pkg/ide/terminal.go Outdated Show resolved Hide resolved
Signed-off-by: bryans-go <[email protected]>
@idagelic idagelic merged commit ede3673 into daytonaio:main Oct 22, 2024
12 checks passed
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.

Allow users to pass SSH flags and configuration options through the daytona CLI
3 participants