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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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@xxxxxxxxxx> 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!

    echo "Interactive shell here. How are you?"


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux