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