Finding install openssh server and client version

Fig.01: Finding install openssh server and client version

Fig.01: Finding install openssh server and client version

The commands are as follows.

Debian or Ubuntu Linux find OpenSSH server and client version

dpkg --list openssh\*
Sample outputs:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                  Version                 Architecture            Description
+++-=====================================-=======================-=======================-===============================================================================
ii  openssh-client                        1:6.7p1-5               amd64                   secure shell (SSH) client, for secure access to remote machines
ii  openssh-server                        1:6.7p1-5               amd64                   secure shell (SSH) server, for secure access from remote machines
ii  openssh-sftp-server                   1:6.7p1-5               amd64                   secure shell (SSH) sftp server module, for SFTP access from remote machines

Examples and usage: How To Patch and Protect OpenSSH Client Vulnerability CVE-2016-0777 and CVE-2016-0778 [ 14/Jan/2016 ]