delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/07/22:39:02

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:to:message-id:subject
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=dwooKv7+7RnHOc5BzUFZuaMONlLjpl00aHZNdqeB0DlORKL7Olm3C
6bDGxmN2Yp3WwBPLVCzeF/goqhoYk007IfHlzR2nX3Pm8L8cUJY/OyZEGk9H7ivD
Nc8zGk4+V+HstxVkhqDi2tfatD2YK7NVW6uNPJJ+k0BcFXHNZmH2rE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:to:message-id:subject
:mime-version:content-type:content-transfer-encoding; s=default;
bh=FijDsD380/ySsBI3VDknCMjDqWQ=; b=c0wwCX+I9FAjw62GE61BfE9nT69Y
KycJW1pa5whFLcvRpJIHCTX6f2m2SHgA+Yf/XJJg4BF7WWdd+GGsW1mQBhef1S7T
YAJgGEEfPMYNcw0ojKwY66CMxYeA7uSbZxAaHXYB0W6V+YpPlzHkbDUOuiiHAe7v
KhuLRv2v6IhW81Y=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.9 required=5.0 tests=AWL,BAYES_80,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: nm24-vm5.bullet.mail.ir2.yahoo.com
Date: Mon, 8 Dec 2014 03:38:27 +0000 (UTC)
From: Marilo <narium85-mlscar AT yahoo DOT co DOT uk>
Reply-To: Marilo <narium85-mlscar AT yahoo DOT co DOT uk>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <427402035.6852067.1418009907778.JavaMail.yahoo@jws11107.mail.ir2.yahoo.com>
Subject: example for Match Host, in ssh?
MIME-Version: 1.0
X-IsSubscribed: yes

I have managed to get Match Address and Match User to work e.g. I see an effect for 
Match User blah
MaxAuthTries 0

But I cannot get Match Host to work

I have a computer compa   I can ping compa 
but when in sshd_config I do 
Match Host compa 
MaxAuthTries 0

it has no effect

And when I try in ssh_config doing 
Host compaa
  HostName compa

then I try in sshd_config 
Match Host compaa
MaxAuthTries 0

It still have an effect.

i'd like to see an example of using Match Host

Where am I going wrong?  / How can I troubleshoot this?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019