Skip to content

Need .ssh/config to use SSH #16006

@parisa-mchp

Description

@parisa-mchp

Bug Description:

If trying to use SSH when the .ssh/config file is absent produces an error here: remote-ssh-connection-provider.ts. However, if you create an empty config file it works fine. Would it make sense to handle no config file the same as an empty config?

Steps to Reproduce:

  1. Delete or rename the .ssh/config file.
  2. Attempt to use the SSH extension.
  3. There should be an error like:
Image

What's curious also is that on windows the error looks like this:

Image

where there should be a slash between the username and .ssh. This issue seems to be purely visual however and doesn't affect the functionality.

Additional Information

  • Operating System: Ubuntu 22.04 and Windows 11
  • Theia Version: b79a25be

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