SSH interaction with AAA, TTY and SHELL [closed]
Clash 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.
tty openssh authentication
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.
add a comment |
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.
tty openssh authentication
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 forssh
. 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 runwireshark
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
add a comment |
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.
tty openssh authentication
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
tty openssh authentication
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 forssh
. 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 runwireshark
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
add a comment |
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 forssh
. 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 runwireshark
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
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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 runwireshark
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