Check SSH/OpenSSH version Command

In order to know the version of SSH (or OpenSSH) installed on your Linux (such as Ubuntu)/Unis system, you can make use of the ssh -V or ssh -Version command.

# ssh -V
OpenSSH_8.2p1 Ubuntu-4ubuntu0.4, OpenSSL 1.1.1f  31 Mar 2020

If you want to upgrade your SSH version you can make use of the package manager such as apt-get

# sudo apt-get install ssh
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ssh is already the newest version (1:8.2p1-4ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

If you are already on the latest version you will get: ssh is already the newest version

Check SSH OpenSSH version Command
Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.