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

SSH Integration #209

Open
andrewpareles opened this issue Jan 9, 2025 · 3 comments
Open

SSH Integration #209

andrewpareles opened this issue Jan 9, 2025 · 3 comments
Labels
help wanted medium priority Medium priority issue

Comments

@andrewpareles
Copy link
Contributor

andrewpareles commented Jan 9, 2025

The default SSH Marketplace Extension is owned by Microsoft, so we need to add our own SSH integration.

This issue came up a few times before: #201 and #205.

@mathewpareles mathewpareles added roadmap-weekly focus A focus of the week and removed help wanted labels Jan 10, 2025
@mathewpareles mathewpareles moved this to 🔎 Weekly Focus in 🚙 Void Roadmap Jan 10, 2025
@andrewpareles andrewpareles moved this from 🔎 Weekly Focus to Backlog in 🚙 Void Roadmap Jan 22, 2025
@andrewpareles andrewpareles removed roadmap-weekly focus A focus of the week high priority High priority issue labels Jan 22, 2025
@andrewpareles andrewpareles moved this from Backlog to Application in 🚙 Void Roadmap Jan 22, 2025
@bjoaquinc
Copy link
Contributor

bjoaquinc commented Jan 23, 2025

@andrewpareles does this require creating a new extension using something like ssh2 that mimics the functionality of the default ssh extension microsoft owns?

@andrewpareles
Copy link
Contributor Author

Yes

@andrewpareles andrewpareles added medium priority Medium priority issue and removed high priority High priority issue labels Jan 25, 2025
@bjoaquinc
Copy link
Contributor

bjoaquinc commented Jan 25, 2025

Alright so @andrewpareles @mathewpareles the focus is replicating the basic functionality of the Microsoft Remote-SSH extension by creating a new extension using ssh2. I made a streamlined list of the commands and settings we're going to keep. Feel free to update this or make recommendations:


Commands to Keep

  • Add New SSH Host
    Essential for setting up new SSH configurations.

  • Connect to Host
    Core functionality for establishing SSH connections.

  • Open SSH Configuration File
    Allows users to modify their ~/.ssh/config file for advanced configurations.

  • Show Logs
    Provides basic troubleshooting capabilities.

  • Kill Local Connection Server for Host
    Useful for resolving connection issues.


Settings to Keep

  • Remote.SSH: Config File
    Allows users to specify a custom SSH config file, essential for flexibility.

  • Remote.SSH: Connect Timeout
    Ensures users can adjust connection timeouts for different environments.

  • Remote.SSH: Path
    Lets users specify a custom SSH executable path, crucial for cross-platform support.

  • Remote.SSH: Enable Agent Forwarding
    Useful for users needing to forward their SSH agent (e.g., for git or other tools).

  • Remote.SSH: Enable X11 Forwarding
    Adds basic support for GUI forwarding over SSH, which is commonly needed.

  • Remote.SSH: Log Level
    Enables debug or trace logging for troubleshooting.

  • Remote.SSH: Max Reconnection Attempts
    Handles auto-reconnection attempts gracefully.


Features and Settings to Skip

  • Advanced or Experimental Features (e.g., Enable Remote Command, Enable Dynamic Forwarding, Local Server Download, Use Exec Server, etc.).
  • Settings for Port Forwarding or Custom Lockfile Locations (e.g., Default Forwarded Ports, Server Install Path, Lockfiles In Tmp).
  • Platform-Specific or Niche Features (e.g., Suppress Windows SSH Warning, Use Flock, Server Pick Ports From Range).

Why This Selection?

The selected commands and settings ensure the ability to:

  • Add and connect to SSH hosts.
  • Modify and use custom configurations.
  • Manage connection stability and agent forwarding.
  • Troubleshoot with logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted medium priority Medium priority issue
Projects
Status: Desktop Application
Development

No branches or pull requests

3 participants