What is the most common symmetric encryption algorithm for encrypting data between two machines with SSH in 2018?

I have attempted to find this out but I generally come across outdated blogs.

I understand that it is most probably currently either AES (in its many forms aes-128, aes-256 etc...) or 3DES.

On one of my Ubuntu servers, I have also checked the ordering via:

man ssh_config

The ordering is AES with 3DES at the end.

Is it safe to assume it is AES or is there a better approach to finding this out?

  • 1
    openssh is using aes256-gcm – Aria Feb 20 '18 at 13:34
  • AES 256 is the most common today. – Overmind Feb 20 '18 at 13:34
  • Honestly, I think answering this would be a logistics nightmare. Although it may be easy to answer in regards to OpenSSH specifically, you might be surprised at how many legacy or proprietary SSH clients are in use around the world. – forest Mar 28 '18 at 2:13

It's an unknowable question as asked. There are too many servers in too many data centers to know the most common. You could guess and even take an inventory of every ip on the internet based on defaults and even query the servers themselves. But that excludes internal systems - of which there are many many thousands.

  • 1
    If the question cannot be answered, please comment or flag. – Tom K. Mar 27 '18 at 22:08
  • That's fine, but I literally answered the question. – April Lovelace Apr 8 '18 at 23:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.