Skip to content

Remote SSH: Can not connect to host requiring certificate for authentication (error resolving authority) #6221

@jemus42

Description

@jemus42

System details:

macOS 15.3 (24D60)

Positron and OS details:

Positron Version: 2025.02.0 (Universal) build 137
Code - OSS Version: 1.96.0
Commit: f4b7966
Date: 2025-01-30T15:14:42.529Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.3.0

Interpreter details:

R 4.4.2

Describe the issue:

I am trying to connect to a remote host which requires a certificate in addition to an SSH key.
My .ssh/config has an entry like this

Host foobar
  HostName foo.bar.edu
  User myuser
  IdentityFile ~/.ssh/id_ecdsa

And I have an id_ecdsa + id_ecdsa-cert.pub keypair.
I can ssh into the host without issues and VSCode can do its Remote SSH thing as well.

When I try to connect to this host with Positron, I encounter authentication errors akin to when one tries to ssh into a host for which one does not have the correct key installed.
The output window shows ssh connection details including what looks like an attempt to to use my id_ecdsa key

Pardon the 99% superfluous blurring of presumably just public key fingerprints

Image

Since I do not control the host I am unfortunately not sure how I could reproduce this setup in a test environment.

Steps to reproduce the issue:

  1. Try to connect to remote host using authentication setup as described?
    (Apologies but I do not now how to reproduce this in an isolate fashion)

Expected or desired behavior:

Positron connecting to and setting up the remote host as it does for other hosts.

Were there any error messages in the UI, Output panel, or Developer Tools console?

See screenshot above. I have failed to find a way to copy the log so far as the modal window blocks the UI.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions