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.
Example:# 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
Example:# 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

SSH vs OpenSSH
SSH (Secure Shell) is a cryptographic network protocol that enables secure remote access to Computers, Servers, or other devices. SSH is widely used for remote login, remote command execution, and other network services that require secure communication. SSH encrypts all traffic, including passwords, to ensure the confidentiality and integrity of the data exchanged between the client and the server, thereby preventing eavesdropping, tampering, and other potential attacks.
While OpenSSH is an Open-Source implementation of the SSH protocol suite, it is widely used on Unix-like operating systems such as macOS. OpenSSH provides secure network communication through encrypted channels, allowing users to securely log into remote systems and execute commands.
How to find the OpenSSH version in Linux Cli?
- Open the Terminal application on your Linux.
- Now type the following command:
# ssh -V
- This command will display the OpenSSH version installed on your system. The output will look something like this:
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Apr 2023
- Here, the OpenSSH has version is 7.6p1
You can check the openSSH version this way on any Linux-based distributions such as Fedora, CentOS, Mint, Kali, etc.
How to check the openSSH version on Windows?
- Open PowerShell.
- Now type the below command:
> ssh -V
- You will get the version details printed in the console as,
OpenSSH_for_Windows_10.1p1, LibreSSL 3.0.2
Have Questions? Post them here!
- How to Display content of a file in Terminal Screen?
- How to Install CVS Version Control on Linux/Ubuntu
- How to install and Configure sar sysstat tools in Ubuntu Linux
- ls command to list only directories
- [Ubuntu] Search a package and versions using apt command
- zsh hello world example
- Linux Remove or Delete Files and Directories using Terminal Commands
- How to tar.gz a directory or folder Command
- Calculate days between dates using dateutils ddiff command
- How to ls command to output one entry per line [macOS/Linux/Bash]
- 3 Commands to stop Nginx Server
- Create and write file in single Linux/macOS command
- SCP Copy all files from directory to Local Folder
- How to go to the End of File in Nano Editor
- How to remove/delete a directory in Linux/macOs
- How to Copy Entire Directory to another Directory in Linux
- Execute .bin and .run file Ubuntu Linux
- The Date Command and its usage [Linux - Unix - macOS]
- Fix - ssh-copy-id no identities found error
- How to check uptime of Linux/Unix/macOS system/server using console command?
- How to Select All text in vim/vi editor using Keyboard
- Linux: Create a New User and Password and Login Example
- Command to display epoch time Terminal
- How to install curl on Alpine Linux
- How to exit from nano command
- How to ls command to output one entry per line [macOS/Linux/Bash] - Linux
- [Fix] Error 1020 Cloudflare: Access was denied - HowTos
- Tutorial : Simple Lightweight Pure CSS based Vertical Navigation Menu - CSS
- Android : Unable to load VM from snapshot : Mac OS X Error - Android
- Find Difference of two numbers - C-Program
- Read JSON File in Python Program - Python
- Program 12: Calculate Area and Circumference of Circle - 1000+ Python Programs - Python-Programs
- How to Open Trash on Mac - MacOS