I am curious: how big is the overhead
SSH introduces compared to
Obviously there are different parts here:
- Initial connection time overhead due to additional round trips for encryption
- Is there a bandwidth overhead?
- Is there an overhead in each packet transmitted
- or do we only have some padding at the end?
- CPU overhead on the client side
- CPU overhead on the server side
- How large is it?
- How about newer CPUs which have AES modules?
- And what about servers with dozens or hundreds of SSH connections?
- is the per-connection CPU overhead of clients and servers symmetric?
- Is there a memory overhead?
- Did I forgot something?
This is more of a theoretical question. I am fully aware that it makes practically no difference in typical scenarios where a server maintains only a few ssh connections.