Hi, it is written in the email you quoted: you can pass QEMU configure "--disable-libssh".
Regards, Nerijus On Mon, 25 Jan 2021 02:12:25 +0000 Sawyer Liu <sawyer....@nxp.com> wrote: > Hello peter, > How to disable libssh for QEMU? Thanks. > > > Best Regards > Sawyer Liu(刘维峰) > > -----Original Message----- > From: Peter Maydell <peter.mayd...@linaro.org> > Sent: Friday, January 22, 2021 18:23 > To: Sawyer Liu <sawyer....@nxp.com> > Cc: qemu-discuss@nongnu.org > Subject: [EXT] Re: Bugs in SSH module > > Caution: EXT Email > > On Fri, 22 Jan 2021 at 03:49, Sawyer Liu <sawyer....@nxp.com> wrote: > > I found same question, see > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.launchpad.net%2Fqemu%2F%2Bbug%2F1838763&data=04%7C01%7Csawyer.liu%40nxp.com%7Ce0fe76b8e8c6425ecadb08d8bebfc750%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637469078177645478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=zY4s4CwGEGxriaU4vjYSxhHmP%2F7H%2FyizIaGv16YDGAQ%3D&reserved=0. > > The status is “Won’t Fix”. Do you have any result? > > The only feature that compiling QEMU with libssh adds is support for a 'ssh' > block backend. That means you can pass '-drive file=ssh://host/path/to/file' > to get QEMU to open a disk image on a remote machine. > > If you don't need to use that feature, you can pass QEMU configure > "--disable-libssh". QEMU will then just not try to use the Ubuntu libssh. > > There seems to be some confusion in this thread about whether the problem is > libssh or libssl. These are two different libraries. The bug report you give > the URL for is for libssh. > > thanks > -- PMM