Before we start, it's not a good thing to do... you should use ssh keys instead!
You can use sshpass
, it's a non-interactive ssh password authentication.
Install it using your package manager, for example in Debian based distributions:
sudo apt install sshpass
then in your bashrc:
alias yb="sshpass -p password_in_plain_text ssh name@hostname"