Skip to content

feat: add support for ssh based connections #510

Description

@anas-codnetwork

Summary

Add support for establishing connections over SSH in addition to the existing connection methods.

Motivation

Many users access remote systems exclusively through SSH. Supporting SSH-based connections would improve security, enable access to remote environments, and make the project more flexible for a wider range of deployment scenarios.

Proposed Solution

  • Add support for SSH authentication (e.g., private key and/or password).
  • Allow users to configure SSH connection parameters such as:
    • Host
    • Port
    • Username
    • Authentication method (private key or password)
  • Establish a secure SSH session before communicating with the remote service.
  • Handle common SSH errors gracefully (authentication failures, unreachable host, timeouts, etc.).

Expected Behavior

  • Users can create and use SSH-based connections.
  • Existing connection methods continue to work without changes.
  • Connection failures provide clear and actionable error messages.

Additional Considerations

  • Support encrypted private keys if applicable.
  • Consider host key verification and known_hosts management.
  • Ensure sensitive credentials are stored securely.
  • Add documentation and examples for configuring SSH connections.

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