How does the ssh gets the login prompt?

As I understand it uses the PAM (plug-gable authentication module) for authentication but I really do not know the flow of getting the login prompt once we fire 'ssh hostname' from client to ssh server. Please provide some info to understand it better. Thanks!
beer9Asked:
Who is Participating?
 
parparovCommented:
You can do 'ssh -vvv hostname' to see the entire sequence of talking between server and client.

Then, maybe you can formulate the question more specifically.
Or, do you look on finding what are login prompt strings, i.e.:

login: username
password: <not echoed>

Open in new window

?
0
 
beer9Author Commented:
yes, please let me know the what are login prompt strings.. thanks!
0
 
parparovCommented:
Well, these strings are hardcoded into the ssh server and client. You need to test it visually or look into source code.
0
 
beer9Author Commented:
Thank you! :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.