Date: Sun, 20 Sep 1998 13:34:38 -0600 From: Greg Skafte <skafte@worldgate.com> To: Randy Bush <randy@psg.com>, freebsd-questions@FreeBSD.ORG Subject: Re: tcpd and ssh X forwarding Message-ID: <19980920133438.B11613@worldgate.com> In-Reply-To: <m0zKasa-00000xC@roam.psg.com>; from Randy Bush on Sat, Sep 19, 1998 at 09:13:44PM -0700 References: <m0zKasa-00000xC@roam.psg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
ssh sets a seperate service for X-forwarding sshdfwd-X11 so allow yourself sshd and sshdfwd-X11 and that should be hunky-dory Quoting Randy Bush (randy@psg.com) On Subject: tcpd and ssh X forwarding Date: Sat, Sep 19, 1998 at 09:13:44PM -0700 > 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 -- Email: skafte@worldgate.com Voice: +403 413 1910 Fax: +403 421 4929 #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 -- -- When things can't get any worse, they simplify themselves by getting a whole lot worse then complicated. A complete and utter disaster is the simplest thing in the world; it's preventing one that's complex. (Janet Morris) 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?19980920133438.B11613>