This is kind of a 2 part question and you'll understand why when done reading. To start, I was trying to figure how to cause an "enter" action inputted into standard output so that the script can inject a password into standard input (yes, I'm aware there are ssh-keys. It's more for the challenge of doing it). First, how do you do an "enter" in a bash script? I feel like \n is different in a small way. And, what does \e do. It's not documented in man bash.
To help clarify, I'm attempting to perform an "enter" functionality that would start an openssh-client connection.
ssh firstname.lastname@example.org [options] [interpreted enter command/token]
&& sleep 5s
&& echo "supersecretpassword" [interpreted enter command/token]
quickly followed by what other dreamy piles of fairy dust i can come up with.