how to react on ssh attacks?

Scot L. Harris webid at cfl.rr.com
Fri Oct 28 23:52:13 UTC 2005


On Fri, 2005-10-28 at 13:45, Jonathan Rawle wrote:
> Scot L. Harris wrote:
> 
> > Are you using the command:  su - or just su?
> > 
> > X apps should work just fine.  They do here.
> 
> I mean specifically when doing so over ssh (log in as a user then su). It
> seemed to make no difference whether I used su or su-
> 
> Admittedly, I haven't tried this recently. It used to be a problem on
> earlier Fedora/RHL releases. I'll do some tests on FC4...
> 
> I also found a script that provided a "sux" command that fixed it in some
> cases. This is provided by some distros such as SUSE, and it claims to work
> by transferring X "cookies".

Ah!  You need to make sure X11 forwarding is enabled.  You can do that
via the config files for ssh or by using -X or -Y options on ssh when
you start the session.  This will setup the DISPLAY variable as well so
it gets redirected to your display.

Give that a try.




More information about the fedora-list mailing list