Skip to content

[Arch][Wayland] Can't use SSH key with passphrase with OpenRemote SSH #2674

Description

@KazeEnji

Describe the bug
On my Linux workstation, I'm unable to establish a connection to a remote server via SSH if I use a SSH key that has a passphrase on it. I get the error in the screenshot.

On my Windows workstation, I'm able to use an SSH key with passphrase just fine. Codium prompts me for the pass. It did that by default so I'm not sure why it's not doing that on Linux. I have enabled the AllowTcpForwarding option with the same result.

Please confirm that this problem is VSCodium-specific

  • This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in VSCodium.

Please confirm that the issue/resolution isn't already documented

To Reproduce
Steps to reproduce the behavior:

  1. Generate SSH key with a passphrase.
  2. Verify permissions are set properly for the key.
  3. Install OpenRemote - SSH extension.
  4. Setup config file to log into the remote server using the protected key.
  5. Attempt to connect to remote server.

In my case, the remote server I'm connecting to is Ubuntu and RHEL. I didn't modify the server side configs aside from AllowTcpForwarding while attempting to troubleshoot this issue. Windows was already working prior to adding that line to the config.

Expected behavior
Codium should prompt for a passphrase.

Screenshots
Image

Desktop (please complete the following information):

  • OS: CachyOS (not working) - Windows 11 (working)
  • Architecture: x64
  • App Manager: Linux - distro repo, Windows - winget
  • Sandboxed: no
  • Version:
Image

Additional context
I've attempted to use ssh-agent with it as well and as long as I've setup ssh-agent correctly, it still didn't work. Same error.

EDIT: To add, it also works just fine on Linux if I attempt to use a SSH key without a passphrase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions