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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=DorrZ0WvSizEuO9a iBNN00EEG5qrJQ6kvYByNqKMhHqFEZAlBET+zFUdLT+PQJxKvJ06whMWUPvCnE9E 4QQsHsduNROWf9kka82F+koPEbleDTYzDJ6mLG/8cfu2ddEm5jNCogCaKk3xa1oC aKu30DBgT32MuFCLep6U/wDIJ94= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=5t2Vw7iOAgx5iVVktEi6Ed bKS/M=; b=KPAnJVcG4ArNbqHpFldpg4wUfwtZAJu5pVK1kXGxqwn1aL1NCCdAgs kn53wH71befi5/rwab2ako01gahHtEardhIU22J9UkElkmqrdTN1JEjXhgjXRem4 PtDj2VeND1VN79ScTzPoNOFc9bDzFddDklFmwpn7yvDWskaOL93o4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: vms173007pub.verizon.net X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=btqxfxui c=1 sm=1 tr=0 a=sotnupvSch1aEFcw4J2g6A==:117 a=oR5dmqMzAAAA:8 a=N659UExz7-8A:10 a=5lJygRwiOn0A:10 a=mJoF_lf_QbFpyLq3ASAA:9 a=pILNOxqGKmIA:10 Subject: Re: how can I disable the warning about X11 forwarding To: cygwin AT cygwin DOT com References: <56169E05 DOT 7040703 AT freenet DOT de> From: Ken Jackson Message-id: <5618BAC7.4030505@jackson.io> Date: Sat, 10 Oct 2015 03:14:15 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-version: 1.0 In-reply-to: <56169E05.7040703@freenet.de> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit X-IsSubscribed: yes On 10/08/2015 12:47 PM, Peter wrote: > I want to allow some users to run an interactive program on my w2012 > server via ssh. > The program is a console app so I do not need X forwarding. > Users are connecting via putty without an X server. > Alas they always get nagged with the > "WARNING: No xauth data; using fake authentication data for X11 > forwarding." > Is there a way to get rid of this message? I have this in my ~/.bashrc file to add xauth data: if [ -n "$DISPLAY" -a -z "$(xauth list ":${DISPLAY#*:}" 2>/dev/null)" ] then xauth add "$DISPLAY" . "$(date | md5sum | cut -b1-32)" fi Alternately, try putting this in /etc/ssh_config: ForwardX11 no -Ken -- 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