Re: sux und ssh
On 22.Feb 2005 - 06:28:16, Jörg Schütter wrote:
> On Tue, 22 Feb 2005 00:00:08 +0100
> Andreas Pakulat <apaku@gmx.de> wrote:
> > benutzt hier jemand sux? Ich will auf meinem router-PC mal was mit
> > ethereal mitschreiben und komme auf diesen nur per ssh.
>
> wenn Du nut Console hast, nimm einfach tethereal
> tethereal -i eth0 -w my-sniff.out host 192.168.123.45
Hmm, das wäre noch ne Möglichkeit.
> > Leider klappt das nicht so ganz:
> >
> > andreas@morpheus:~>ssh neo
> > andreas@neo:~>sux -
> > Password:
> > xauth: creating new authority file /root/.Xauthority
>
> Was spricht gegen ein ssh -X root@neo
PermitRootLogin no
Und ich denke nicht daran, dass aufzuheben.
> > Soweit so gut, das erste was auffällt:
> > neo:~>ls -ld .X*
> > ls: .X*: No such file or directory
> >
> > Demzufolge auch:
> > neo:~>ethereal
> > X11 connection rejected because of wrong authentication.
> > The application 'ethereal' lost its connection to the display
> > localhost:11.0;
>
> Wahrscheinlich kann sux nicht mit der X11-Weiterleitung von ssh
> umgehen. Oder man muß sux sagen, daß X11 weitergeleitet wird.
Hmm, glaub ich nicht, sux' Problem dürfte sein, dass es kein
.Xauthority file anlegt und wenn ich "-p" angebe sogar das des
eingeloggten Users entfernt! Ich werde wohl nen Bugreport schreiben.
Andreas
--
You will have a long and boring life.
Reply to: