git: 336cc041a492 - main - openssh: Fix shosts.equiv path in manual pages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Aug 2026 17:28:06 UTC
The branch main has been updated by jlduran:
URL: https://cgit.FreeBSD.org/src/commit/?id=336cc041a492b03fde96fd89915ae694cf31b551
commit 336cc041a492b03fde96fd89915ae694cf31b551
Author: Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2026-08-25 17:27:28 +0000
Commit: Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2026-08-25 17:27:28 +0000
openssh: Fix shosts.equiv path in manual pages
Change the path for the shosts.equiv file to consistently reflect
/etc/ssh/shosts.equiv across all manual pages.
This change stems from 35d4ccfb5576 ("Document FreeBSD defaults and
paths.")
Reviewed by: bcr, emaste
Differential Revision: https://reviews.freebsd.org/D52203
---
crypto/openssh/ssh.1 | 4 ++--
crypto/openssh/sshd.8 | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/crypto/openssh/ssh.1 b/crypto/openssh/ssh.1
index 22f385f06bd6..2ea32879e0e7 100644
--- a/crypto/openssh/ssh.1
+++ b/crypto/openssh/ssh.1
@@ -908,7 +908,7 @@ Host-based authentication works as follows:
If the machine the user logs in from is listed in
.Pa /etc/hosts.equiv
or
-.Pa /etc/shosts.equiv
+.Pa /etc/ssh/shosts.equiv
on the remote machine, the user is non-root and the user names are
the same on both sides, or if the files
.Pa ~/.rhosts
@@ -1631,7 +1631,7 @@ manual page for more information.
This file is for host-based authentication (see above).
It should only be writable by root.
.Pp
-.It Pa /etc/shosts.equiv
+.It Pa /etc/ssh/shosts.equiv
This file is used in exactly the same way as
.Pa hosts.equiv ,
but allows host-based authentication without permitting login with
diff --git a/crypto/openssh/sshd.8 b/crypto/openssh/sshd.8
index f436aaae7bfa..c9fb283d42a0 100644
--- a/crypto/openssh/sshd.8
+++ b/crypto/openssh/sshd.8
@@ -958,7 +958,7 @@ are displayed to anyone trying to log in, and non-root connections are
refused.
The file should be world-readable.
.Pp
-.It Pa /etc/shosts.equiv
+.It Pa /etc/ssh/shosts.equiv
This file is used in exactly the same way as
.Pa hosts.equiv ,
but allows host-based authentication without permitting login with