I guess we all did it at least once. You think to be in the ssh session of the VM of choice where instead.... you are on the host!
An old trick to help users avoiding such mistake is to change the prompt.
So, should something along the lines of:
be used as the default .bashrc ?
e.g.
VM:
NODE:
Thanks
An old trick to help users avoiding such mistake is to change the prompt.
So, should something along the lines of:
export PS1="\[\e[33;41m\]NODE[\h]#\[\e[m\] "
be used as the default .bashrc ?
e.g.
VM:
NODE:
Thanks
Last edited: