Skip to main content
added 65 characters in body
Source Link
Gilles Quénot
  • 36.5k
  • 7
  • 74
  • 96

for client:

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

for server:

$ sshd -V
unknown option -- V
OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f  31 Mar 2020

or

nc -w1 localhost 22
SSH-2.0-OpenSSH_8.9p1 xxxx

for client:

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

for server:

$ sshd -V
unknown option -- V
OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f  31 Mar 2020

for client:

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

for server:

$ sshd -V
unknown option -- V
OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f  31 Mar 2020

or

nc -w1 localhost 22
SSH-2.0-OpenSSH_8.9p1 xxxx
edited body
Source Link
Gilles Quénot
  • 36.5k
  • 7
  • 74
  • 96

for client:

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

for server:

$ sshd -V
unknown option -- vV
OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f  31 Mar 2020

for client:

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

for server:

$ sshd -V
unknown option -- v
OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f  31 Mar 2020

for client:

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

for server:

$ sshd -V
unknown option -- V
OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f  31 Mar 2020
deleted 56 characters in body
Source Link
Gilles Quénot
  • 36.5k
  • 7
  • 74
  • 96

The need isn't very clear, but you could get those informations simply like this:

for client:

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

and

for server:

$ sshd -V
unknown option -- v
OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f  31 Mar 2020

The need isn't very clear, but you could get those informations simply like this:

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

and

$ sshd -V
unknown option -- v
OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f  31 Mar 2020

for client:

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

for server:

$ sshd -V
unknown option -- v
OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f  31 Mar 2020
Source Link
Gilles Quénot
  • 36.5k
  • 7
  • 74
  • 96
Loading