summaryrefslogtreecommitdiff
path: root/sshd_config.5
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-04-17 03:30:05 +0000
committerDamien Miller <djm@mindrot.org>2020-04-17 14:03:36 +1000
commitc90f72d29e84b4a2709078bf5546a72c29a65177 (patch)
tree58f38f99566d13f7e142c3181878f54e4cd2af21 /sshd_config.5
parent321c7147079270f3a154f91b59e66219aac3d514 (diff)
upstream: make IgnoreRhosts a tri-state option: "yes" ignore
rhosts/shosts, "no" allow rhosts/shosts or (new) "shosts-only" to allow .shosts files but not .rhosts. ok dtucker@ OpenBSD-Commit-ID: d08d6930ed06377a80cf53923c1955e9589342e9
Diffstat (limited to 'sshd_config.5')
-rw-r--r--sshd_config.527
1 files changed, 20 insertions, 7 deletions
diff --git a/sshd_config.5 b/sshd_config.5
index a60be383d..5648337a6 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -33,7 +33,7 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: sshd_config.5,v 1.308 2020/04/17 03:23:13 djm Exp $ 36.\" $OpenBSD: sshd_config.5,v 1.309 2020/04/17 03:30:05 djm Exp $
37.Dd $Mdocdate: April 17 2020 $ 37.Dd $Mdocdate: April 17 2020 $
38.Dt SSHD_CONFIG 5 38.Dt SSHD_CONFIG 5
39.Os 39.Os
@@ -778,19 +778,32 @@ rsa-sha2-512,rsa-sha2-256,ssh-rsa
778The list of available key types may also be obtained using 778The list of available key types may also be obtained using
779.Qq ssh -Q HostKeyAlgorithms . 779.Qq ssh -Q HostKeyAlgorithms .
780.It Cm IgnoreRhosts 780.It Cm IgnoreRhosts
781Specifies that 781Specifies whether to ignore per-user
782.Pa .rhosts 782.Pa .rhosts
783and 783and
784.Pa .shosts 784.Pa .shosts
785files will not be used in 785files during
786.Cm HostbasedAuthentication . 786.Cm HostbasedAuthentication .
787.Pp 787The system-wide
788.Pa /etc/hosts.equiv 788.Pa /etc/hosts.equiv
789and 789and
790.Pa /etc/shosts.equiv 790.Pa /etc/shosts.equiv
791are still used. 791are still used regardless of this setting.
792The default is 792.Pp
793.Cm yes . 793Accepted values are
794.Cm yes
795(the default) to ignore all per-user files,
796.Cm shosts-only
797to allow the use of
798.Pa .shosts
799but to ignore
800.Pa .rhosts
801or
802.Cm no
803to allow both
804.Pa .shosts
805and
806.Pa rhosts.
794.It Cm IgnoreUserKnownHosts 807.It Cm IgnoreUserKnownHosts
795Specifies whether 808Specifies whether
796.Xr sshd 8 809.Xr sshd 8