Date: Sat, 19 Sep 1998 21:13:44 -0700 (PDT) From: Randy Bush <randy@psg.com> To: freebsd-questions@FreeBSD.ORG Subject: tcpd and ssh X forwarding Message-ID: <m0zKasa-00000xC@roam.psg.com>
next in thread | raw e-mail | index | archive | help
FreeBSD 3.0CAM-19980712-SNAP, ssh x forwarding gets in trouble with tcpd
o i ssh into test.psg.com
o DISPLAY seems appropriately set
test.psg.com:/usr/local/etc# env | grep DIS
DISPLAY=test.psg.com:10.0
o if i invoke emacs with x forwarding it dies
test.psg.com:/usr/local/etc# emacs /usr/local/etc/hosts.allow
[2] 16394
test.psg.com:/usr/local/etc# Sep 19 18:35:25 test sshd[16351]: error: \
Fwd X11 connection from test.psg.com refused by tcp_wrappers.
[2]+ Segmentation fault (core dumped) /usr/local/bin/emacs -i "$@"
o but if i shoot hosts deny, it works
test.psg.com:/usr/local/etc# mv hosts.deny foo
test.psg.com:/usr/local/etc# emacs /usr/local/etc/hosts.allow
[1] 16392
test.psg.com:/usr/local/etc# mv foo hosts.deny
o therefore it is a tcp_rwapper problem indeed. yet i have
sshd : ALL
in /usr/local/etc/hosts.allow, or i would not even have been able to ssh
into the host.
clues solicited. and i actually read as many man pages as i thought
relevant. clearly i missed the right one.
randy
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0zKasa-00000xC>
