Skip to content

How to Check OpenSSH Version

Category
Networking
Covers
SSH
On this page

OpenSSH is an secure networking utility for remote login with SSH protocol. This is the primary tools used by the most of Linux based systems for the remote SSH login.

OpenSSH provides you the option to connect remote system over the SSH protocol. Which provides the end to end encryption between communication to two systems.

This tutorial will help you to check OpenSSH version running on your system.

Check OpenSSH Version

The SSH command provides and option to check version of local SSH server version as well as on remote systems. Use the following commands to check OpenSSH version running on local or remote systems.

  • Check OpenSSH version on local system –
    Use the following command to check OpenSSH version running on local system.

    ssh -V 
    

    check OpenSSH Version on localhost

  • Check OpenSSH version on remote system –

    You can also find the OpenSSH server version running on the remote servers. This can be find by connecting remote server over SSH protocol in verbose. The connection log shows the SSH server version on local system as well as OpenSSH version running on remote machine.

    ssh -v localhost 
    

    Watch the output of the above command and identify the OpenSSH version running on local and remote systems.

    check OpenSSH Version on remote machine

Conclusion

This tutorial helped you to check OpenSSH version running on the localhost system. Also you can check OpenSSH version running on a remote system.

Rahul

Rahul Kumar is the founder and chief editor of TecAdmin.net. A Red Hat Certified Engineer (RHCE), he has worked in IT since 2009, with hands-on experience in Linux system administration, DevOps, web hosting, cloud platforms and automation. He started TecAdmin in 2013 to share practical, step-by-step guides, and leads its editorial work with one aim: making technical learning clear and useful for sysadmins, developers and beginners alike.

Leave a Reply

Your email address will not be published. Required fields are marked *


Back to top