tramp-login-prompt-regexp

tramp-login-prompt-regexp is a variable defined in `tramp.el'.
Its value is
".*ogin\\( .*\\)?: *"


Documentation:
Regexp matching login-like prompts.
The regexp should match at end of buffer.

Sometimes the prompt is reported to look like "login as:".

You can customize this variable.