Ignore my previous remark.  I forgot that, if you want to use Ed25519 keys via ssh-agent or Pageant with the current version of TurboVNC, you have to add

    PubKeyAcceptedAlgorithms +ssh-ed25519

to ~/.ssh/config (%USERPROFILE%\.ssh\config on Windows.)

That is because the SSH client doesn't explicitly support the signature scheme, so you have to tell it that it is OK to use that scheme (which it is, because the SSH agent supports it.)

I am still working on explicit Ed25519 support, which will make it unnecessary to modify the OpenSSH config file.

DRC

On 9/25/24 8:01 PM, DRC wrote:

I reproduced the issue, and it is definitely due to the use of an Ed25519 key.  I guess ssh-agent communicates the key in such a way that the key type doesn't matter, but it does matter with Pageant.  Ed25519 support is a high priority for TurboVNC 3.2.

DRC

On 9/23/24 6:45 AM, Kimmo wrote:
Hi. Pageant version is 0.81 and I generated the key using ssh-keygen (Windows 11 WSL2 - Ubuntu 22.04 - openssh-client 1:8.9p1-3ubuntu0.10). The key type is actually Ed25519. I will change the key type or wait for the TurboVNC 3.2. Thanks for the detailed reply.

perjantai 20. syyskuuta 2024 klo 17.42.21 UTC+3 DRC kirjoitti:

    OK, that sounds like a bug, then. Which version of Pageant are
    you using? How did you generate the key? (I ask the latter
    question because there are still some key algorithms that the
    TurboVNC Viewer’s built-in SSH client doesn’t support—
    specifically Ed25519. I intend to address that in TurboVNC 3.2.)

    On Sep 20, 2024, at 5:07 AM, Kimmo <kimmo.h...@gmail.com> wrote:

    I've loaded the .ppk file to Pageant and the SSH connection
    works with Putty and Windows OpenSSH but I get the password
    inquiry in TurboVNC (without any TurboVNC parameters).

    torstai 19. syyskuuta 2024 klo 18.01.35 UTC+3 DRC kirjoitti:

        The SSHKeyFile parameter accepts an SSH key in OpenSSH
        format. It is roughly the equivalent of the -i option in
        OpenSSH. In other words, it is a command-line override that
        allows you to promote an SSH key to the top of the chain. It
        isn’t necessary when using an SSH agent. You should be able
        to simply add the .ppk file to Pageant, and the TurboVNC
        Viewer will use the key through Pageant automatically. No
        further TurboVNC parameters or OpenSSH config file
        directives are necessary.

        On Sep 19, 2024, at 5:05 AM, Kimmo <kimmo.h...@gmail.com>
        wrote:

        
        Hi,

        I'm not able to use Pageant with .ppk-file for SSH login.
        I've included the Pageant 'IdentityAgent- in the '
        C:/Users/username/.ssh/config'. Pageant works fine with
        Windows OpenSSH.

        I use the option
        "sshKeyFile=C:/Users/username/.ssh/private_key.ppk" with
        TurboVNC viewer version 3.1.2 but I get an error: "Could
        not create SSH tunnel: Could not use SSH private key
        C:\Users\username\.ssh\private_key.ppk: invalid privatekey:
        [something" with 'something' being some hash.

        Great software nevertheless.
-- You received this message because you are subscribed to the
        Google Groups "TurboVNC User Discussion/Support" group.
        To unsubscribe from this group and stop receiving emails
        from it, send an email to turbovnc-user...@googlegroups.com.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/turbovnc-users/8dcc3bc9-180b-4a2a-8ea5-2e8afa8562acn%40googlegroups.com
        
<https://groups.google.com/d/msgid/turbovnc-users/8dcc3bc9-180b-4a2a-8ea5-2e8afa8562acn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- You received this message because you are subscribed to the
    Google Groups "TurboVNC User Discussion/Support" group.
    To unsubscribe from this group and stop receiving emails from
    it, send an email to turbovnc-user...@googlegroups.com.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/turbovnc-users/4de5ed19-76f8-4042-98e4-aa8390b96132n%40googlegroups.com
    
<https://groups.google.com/d/msgid/turbovnc-users/4de5ed19-76f8-4042-98e4-aa8390b96132n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "TurboVNC User Discussion/Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to turbovnc-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/fab713cc-b53b-4cdd-ba6a-dfebf4facad9n%40googlegroups.com <https://groups.google.com/d/msgid/turbovnc-users/fab713cc-b53b-4cdd-ba6a-dfebf4facad9n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "TurboVNC 
User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to turbovnc-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/turbovnc-users/23b46ae5-f35d-4b6b-b1dc-c01c7012eec0%40virtualgl.org.

Reply via email to