Using Yubikey over usbip on Azure hosted Ubuntu 18.04

2024-02-05T12:28:46.8033333+00:00

Hi,
I am trying to access my phisical machine Windows 10 with 'Yubikey 5 NFC' connected using usbip from Ubuntu 18.04.1(5.4.0-1122-azure) hosted on Azure.
Ubuntu has usbip installed by default (usbip-utils 2.0) and Windows has 4.0.0 version installed. I need a hardware key, using Azure Key Vault is not an option. The issue is on Azure Ubuntu:

usbip attach --remote=1.1.1.2  --device=1-1
libusbip: error: udev_device_new_from_subsystem_sysname
failedusbip: error: open vhci_driver

There is a very similar issue solved on AWS reported here:
https://askubuntu.com/questions/1303403/how-to-install-usbip-vhci-hcd-drivers-on-an-aws-ec2-ubuntu-kernel-version Following post above when I try to run 5.4.0-81-generic instead of 5.4.0-1122-azure kernel machine still boots with 5.4.0-1122-azure kernel. I have also tried xrdp with no luck. Any ideas how to get vhci module, or support for remote USB and Yubikey on Azure hosted Ubuntu machine? Thanks, Piotr

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,036 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.