SSH interaction with AAA, TTY and SHELL [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Can somebody explains what happens when a SSH client sends command like "ssh -t username@host 'top'" to host.?



Intent is to know about the sequence of events regarding interaction with AAA server, TTY etc. components.










share|improve this question













closed as too broad by Rui F Ribeiro, roaima, JigglyNaga, RalfFriedl, Jeff Schaller Nov 26 at 20:35


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 2




    I highly doubt if it is on topic answering common interview questions here. I remember reading a reddit topic about this but can't remember the link. The question is too broad per our Faq I think. Any specific doubt in one of the steps?
    – Rui F Ribeiro
    Nov 26 at 8:27







  • 3




    You could enable client-side debugging for ssh. That might well address at least some of your enquiry.
    – roaima
    Nov 26 at 8:34






  • 1




    And you do enable "debugging" by increasing the verbosity with the -v flag, up to three times: ssh -vvv .... If that isn't enough for you, additionally run wireshark to see what goes over the network.
    – dirkt
    Nov 26 at 9:23











  • Logs, Wireshark, ltrace, sysdig, books : "tcp ip illustrated" and "the design of the freebsd system", both the 2nd edition
    – Rui F Ribeiro
    Nov 26 at 10:05










  • Thanks for the input. From the SSH client logs, it looks like SSH client is authenticated by PAM module and then after successful authentication SSH server request pty on channel and then it spawns the shell.
    – Praffulla Pandey
    Nov 27 at 4:38















up vote
0
down vote

favorite












Can somebody explains what happens when a SSH client sends command like "ssh -t username@host 'top'" to host.?



Intent is to know about the sequence of events regarding interaction with AAA server, TTY etc. components.










share|improve this question













closed as too broad by Rui F Ribeiro, roaima, JigglyNaga, RalfFriedl, Jeff Schaller Nov 26 at 20:35


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 2




    I highly doubt if it is on topic answering common interview questions here. I remember reading a reddit topic about this but can't remember the link. The question is too broad per our Faq I think. Any specific doubt in one of the steps?
    – Rui F Ribeiro
    Nov 26 at 8:27







  • 3




    You could enable client-side debugging for ssh. That might well address at least some of your enquiry.
    – roaima
    Nov 26 at 8:34






  • 1




    And you do enable "debugging" by increasing the verbosity with the -v flag, up to three times: ssh -vvv .... If that isn't enough for you, additionally run wireshark to see what goes over the network.
    – dirkt
    Nov 26 at 9:23











  • Logs, Wireshark, ltrace, sysdig, books : "tcp ip illustrated" and "the design of the freebsd system", both the 2nd edition
    – Rui F Ribeiro
    Nov 26 at 10:05










  • Thanks for the input. From the SSH client logs, it looks like SSH client is authenticated by PAM module and then after successful authentication SSH server request pty on channel and then it spawns the shell.
    – Praffulla Pandey
    Nov 27 at 4:38













up vote
0
down vote

favorite









up vote
0
down vote

favorite











Can somebody explains what happens when a SSH client sends command like "ssh -t username@host 'top'" to host.?



Intent is to know about the sequence of events regarding interaction with AAA server, TTY etc. components.










share|improve this question













Can somebody explains what happens when a SSH client sends command like "ssh -t username@host 'top'" to host.?



Intent is to know about the sequence of events regarding interaction with AAA server, TTY etc. components.







tty openssh authentication






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 26 at 8:25









Praffulla Pandey

6




6




closed as too broad by Rui F Ribeiro, roaima, JigglyNaga, RalfFriedl, Jeff Schaller Nov 26 at 20:35


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as too broad by Rui F Ribeiro, roaima, JigglyNaga, RalfFriedl, Jeff Schaller Nov 26 at 20:35


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









  • 2




    I highly doubt if it is on topic answering common interview questions here. I remember reading a reddit topic about this but can't remember the link. The question is too broad per our Faq I think. Any specific doubt in one of the steps?
    – Rui F Ribeiro
    Nov 26 at 8:27







  • 3




    You could enable client-side debugging for ssh. That might well address at least some of your enquiry.
    – roaima
    Nov 26 at 8:34






  • 1




    And you do enable "debugging" by increasing the verbosity with the -v flag, up to three times: ssh -vvv .... If that isn't enough for you, additionally run wireshark to see what goes over the network.
    – dirkt
    Nov 26 at 9:23











  • Logs, Wireshark, ltrace, sysdig, books : "tcp ip illustrated" and "the design of the freebsd system", both the 2nd edition
    – Rui F Ribeiro
    Nov 26 at 10:05










  • Thanks for the input. From the SSH client logs, it looks like SSH client is authenticated by PAM module and then after successful authentication SSH server request pty on channel and then it spawns the shell.
    – Praffulla Pandey
    Nov 27 at 4:38













  • 2




    I highly doubt if it is on topic answering common interview questions here. I remember reading a reddit topic about this but can't remember the link. The question is too broad per our Faq I think. Any specific doubt in one of the steps?
    – Rui F Ribeiro
    Nov 26 at 8:27







  • 3




    You could enable client-side debugging for ssh. That might well address at least some of your enquiry.
    – roaima
    Nov 26 at 8:34






  • 1




    And you do enable "debugging" by increasing the verbosity with the -v flag, up to three times: ssh -vvv .... If that isn't enough for you, additionally run wireshark to see what goes over the network.
    – dirkt
    Nov 26 at 9:23











  • Logs, Wireshark, ltrace, sysdig, books : "tcp ip illustrated" and "the design of the freebsd system", both the 2nd edition
    – Rui F Ribeiro
    Nov 26 at 10:05










  • Thanks for the input. From the SSH client logs, it looks like SSH client is authenticated by PAM module and then after successful authentication SSH server request pty on channel and then it spawns the shell.
    – Praffulla Pandey
    Nov 27 at 4:38








2




2




I highly doubt if it is on topic answering common interview questions here. I remember reading a reddit topic about this but can't remember the link. The question is too broad per our Faq I think. Any specific doubt in one of the steps?
– Rui F Ribeiro
Nov 26 at 8:27





I highly doubt if it is on topic answering common interview questions here. I remember reading a reddit topic about this but can't remember the link. The question is too broad per our Faq I think. Any specific doubt in one of the steps?
– Rui F Ribeiro
Nov 26 at 8:27





3




3




You could enable client-side debugging for ssh. That might well address at least some of your enquiry.
– roaima
Nov 26 at 8:34




You could enable client-side debugging for ssh. That might well address at least some of your enquiry.
– roaima
Nov 26 at 8:34




1




1




And you do enable "debugging" by increasing the verbosity with the -v flag, up to three times: ssh -vvv .... If that isn't enough for you, additionally run wireshark to see what goes over the network.
– dirkt
Nov 26 at 9:23





And you do enable "debugging" by increasing the verbosity with the -v flag, up to three times: ssh -vvv .... If that isn't enough for you, additionally run wireshark to see what goes over the network.
– dirkt
Nov 26 at 9:23













Logs, Wireshark, ltrace, sysdig, books : "tcp ip illustrated" and "the design of the freebsd system", both the 2nd edition
– Rui F Ribeiro
Nov 26 at 10:05




Logs, Wireshark, ltrace, sysdig, books : "tcp ip illustrated" and "the design of the freebsd system", both the 2nd edition
– Rui F Ribeiro
Nov 26 at 10:05












Thanks for the input. From the SSH client logs, it looks like SSH client is authenticated by PAM module and then after successful authentication SSH server request pty on channel and then it spawns the shell.
– Praffulla Pandey
Nov 27 at 4:38





Thanks for the input. From the SSH client logs, it looks like SSH client is authenticated by PAM module and then after successful authentication SSH server request pty on channel and then it spawns the shell.
– Praffulla Pandey
Nov 27 at 4:38
















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay