diff options
author | millert@openbsd.org <millert@openbsd.org> | 2023-01-18 02:50:21 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2023-01-18 03:21:00 +0100 |
commit | 7d17ea151c0b2519f023bd9cc7f141128833ac47 (patch) | |
tree | 86eef75ffda6fd1853471fd1d89ac3c89f5ce2c9 /sshd.8 | |
parent | upstream: For "ssh -V" always exit 0, there is no need to check opt (diff) | |
download | openssh-7d17ea151c0b2519f023bd9cc7f141128833ac47.tar.xz openssh-7d17ea151c0b2519f023bd9cc7f141128833ac47.zip |
upstream: Add a -V (version) option to sshd like the ssh client
has. OK markus@ deraadt@
OpenBSD-Commit-ID: abe990ec3e636fb040132aab8cbbede98f0c413e
Diffstat (limited to 'sshd.8')
-rw-r--r-- | sshd.8 | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -33,8 +33,8 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: sshd.8,v 1.321 2022/09/11 06:38:11 jmc Exp $ -.Dd $Mdocdate: September 11 2022 $ +.\" $OpenBSD: sshd.8,v 1.322 2023/01/18 01:50:21 millert Exp $ +.Dd $Mdocdate: January 18 2023 $ .Dt SSHD 8 .Os .Sh NAME @@ -43,7 +43,7 @@ .Sh SYNOPSIS .Nm sshd .Bk -words -.Op Fl 46DdeiqTt +.Op Fl 46DdeiqTtV .Op Fl C Ar connection_spec .Op Fl c Ar host_certificate_file .Op Fl E Ar log_file @@ -245,6 +245,8 @@ USER@HOST pattern in .Cm AllowUsers or .Cm DenyUsers . +.It Fl V +Display the version number and exit. .El .Sh AUTHENTICATION The OpenSSH SSH daemon supports SSH protocol 2 only. |