Skip to content

Not working with Microsoft.OpenSSH.Beta #17

Description

@padinko

I have problem using npm with ssh package from gitlab
I found newer version of microsoft ssh implementation can help, so i tried it
i installed it with command

winget install --id=Microsoft.OpenSSH.Beta

versions i use on windows 11:
(system) OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
(beta) OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

when i start nCryptAgent and use it with system ssh, it works well when connecting to servers, but npm install fail with: unexpected disconnect while reading sideband packet
then when i swith to ssh beta, ssh connection works every second time.. every another second time i got Permission denied (publickey)
then i restarted nCryptAgent and ssh connection is not working at all.

i tried verbose ssh -vvvT HOST and this is probably problem:

debug3: ssh_get_authentication_socket_path: path '\\\\.\\pipe\\openssh-ssh-agent'
debug2: get_agent_identities: ssh_agent_bind_hostkey: invalid format
debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities

i need to restart nCryptAgent again after uninstalling beta ssh

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions