3

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?

user207421
  • 305,947
  • 44
  • 307
  • 483
socksocket
  • 4,271
  • 11
  • 45
  • 70
  • you can tunnel multiple protocols, including HTTP, through SSH, thus logically it should be lower in the stack. BTW not sure if this is not OT here. – Tomasz Nurkiewicz Dec 17 '12 at 10:08
  • It isn't. SSH is an application layer otocol just like HTTP. Your question is founded on a false premise. – user207421 Feb 08 '19 at 09:34

1 Answers1

4

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

LuigiEdlCarno
  • 2,410
  • 2
  • 21
  • 37