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]

 



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




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

  Powered by Linux