qemu+ssh connections to a remote libvirt fail as ssh banner configured

Yalan Zhang yalzhang at redhat.com
Mon Feb 14 01:48:19 UTC 2022


Hi Jiri,

Get it! Have tried and it works well, Thank you all!

On Thu, Feb 10, 2022 at 6:14 PM Jiri Denemark <jdenemar at redhat.com> wrote:

> On Thu, Feb 10, 2022 at 17:47:43 +0800, Yalan Zhang wrote:
> > Thank you! I tried /etc/motd, and it does not impact the libvirt
> connection.
> > Happy to learn something new!
>
> Alternatively if you really need to run commands in .bashrc which can
> potentially print some output, you can put them after a check for
> interactive shell:
>
>     if [[ $- != *i* ]] ; then
>         # Shell is non-interactive.  Be done now!
>         return
>     fi
>
>     echo "Interactive shell here. How are you?"
>
> Jirka
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20220214/26344ca6/attachment.htm>


More information about the libvirt-users mailing list