Click to See Complete Forum and Search --> : remote access


humphrey
10-27-2001, 04:17 PM
hey,
I've been using linux for two days now and come from a background of basic windows knowledge. I want to use linux to connect to my school to do comp assignmets. Previously I've been using ssh from my windows partition and it's worked fine. When I run the ssh command from an xterm I get the login prompt. when I give the password it tells me that it can't authenticate the data.
I'm using mandrake 2. something, but I know it's not a problem with their computer having an older version of linux because I've logged onto one which I know doesn't. I've been told it could be an xAuth problem. Any Ideas ??

would be grateful

thedexman
10-27-2001, 04:30 PM
What exactly is the error message? Are you trying to tunnel an X session through ssh as well?

humphrey
10-27-2001, 04:42 PM
Originally posted by thedexman:
<STRONG>What exactly is the error message? Are you trying to tunnel an X session through ssh as well?</STRONG>


I'll have to get back to you, I'm actually in windows right now (I know .. shame!!)

slacker_x
10-27-2001, 04:54 PM
Are you logging in with the correct username on the remote computer?

ssh -l remote_username aa.bb.cc.dd

humphrey
10-27-2001, 05:06 PM
the error message reads
x11_request_forwarding: bad authentication data: MIT-MAGIC-COOKIE-1
if you mean trying to tunnel an x session as opening an xterm from the school computer, then yes

slacker_x, yes I'm logging in with the correct username. When I try another one it gives me:
Permission denied

eagerly awaiting :)

Dark Ninja
10-27-2001, 08:58 PM
If you are trying to run an X session across the connection, you also have to pass the -X parameter. For example:

ssh -l username computer.domain.com -X

That will allow you to remotely run X applications.

As for the bad authentication error? You said you were using Mandrake 2 something? Umm...you may just want to try to up that. Like...there's version 8 out now.


Dark Ninja

P.S. BTW - I know it's not always the answer to just upgrade to the newest thing out there, however, between versions 2 and 8, well, that's some major differences. This is why I suggested upgrading.

Unless of course...humphrey was referring to the kernel version...hmmmmm....

humphrey
10-29-2001, 05:34 AM
Dark Ninja,
you're right, it is Mandrake 8.0, linux: version 2.something
come on, it's been like 3 days now.
Anyway I tried including the -X parametre but I get the same error message

x11_request_forwarding: bad authentication data: MIT-MAGIC-COOKIE-1

does anyone know what this means??

thanx