Skip to content

Support ssh config in ~/.ssh/config #14289

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

Open
yanjiew1 opened this issue Oct 11, 2024 · 1 comment
Open

Support ssh config in ~/.ssh/config #14289

yanjiew1 opened this issue Oct 11, 2024 · 1 comment
Labels
remote-ssh issues related to the ssh remote functionality

Comments

@yanjiew1
Copy link

yanjiew1 commented Oct 11, 2024

Theia currently does not support reading from the ~/.ssh/config file, requiring users to manually specify the username, hostname, and port number to connect to a remote host.

Feature Description:

It would be beneficial if Theia could support the SSH configuration file (~/.ssh/config), allowing users to connect using alias names and configure additional options directly within that file.

The "Remote - SSH" extension of VS Code already supports reading the SSH config file. VS Code appears to use the system's OpenSSH client, which reads from ~/.ssh/config by default.

Theia seems to use the ssh2 package for its SSH implementation, which is what another VS Code extension, open-remote-ssh uses. Although open-remote-ssh also uses ssh2, it supports reading the ~/.ssh/config file by using the ssh-config package to parse the configuration.

@msujew msujew added the remote-ssh issues related to the ssh remote functionality label Oct 11, 2024
@ensignavenger
Copy link

This appears to be a duplicate/related to #14102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
remote-ssh issues related to the ssh remote functionality
Projects
None yet
Development

No branches or pull requests

3 participants