This question already has an answer here:
I need to login to a user that I've created on a remote host running Ubuntu. I can't use an
ssh key because the ssh login will happen from a bash script ran within a server that I won't have access to (think continuous integration server like Bamboo).
I understand this isn't an ideal practice, but I want to either set the remote host to not ask for the password or be able to login with something like
ssh --passsword foobar user@host, kind of like MySQL allows you to do for logins.
I'm not finding this in
man ssh and I'm open to any alternatives to getting around this issue.