I'd be surprised if you can't use key pair, but if you really can't, try running ssh inside of "script" in the SE terminal so that it can be provided a pty:
script -eqfc "ssh user@host" /dev/null
I think ssh needs to think it is running in a terminal in order to provide password prompt, running inside script will make ssh think that.