Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OSI Model: SSH vs HTTP

I wonder, why SSH is in the Session Layer of Model OSI, but HTTP is in the Application Layer?
as I see it, both are working over TCP/IP communication so why discriminate the two protocols to two different layers?

like image 251
socksocket Avatar asked Aug 07 '26 11:08

socksocket


1 Answers

HTTP does not care what way it is sent, it simly consists of text, which can then be parsed by an application "speaking" HTTP, whereas SSH creates a "virtal connection" (session) over an existing network and allows higher-level protocolls (like HTTP) to pass more securely

like image 102
LuigiEdlCarno Avatar answered Aug 10 '26 09:08

LuigiEdlCarno



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!