Re: Remote login fun & games

From: Rob MacGregor (rob_macgregor_at_hotmail.com)
Date: 08/18/05


Date: Thu, 18 Aug 2005 06:37:02 GMT

Michael Hopkins wrote:
<---SNIP--->
> Anyway.. I have been using ssh for remote login and running X apps remotely.
> This was working well but as the network is a trusted local one I thought it
> would be faster to use an unencrypted connection because I am doing some
> heavy graphics work on 100Mb network. I thought about rlogin & telnet.

SSH (and rlogin/telnet) are all command line - using these won't make
any difference to any graphics apps you display using X. You can use
SSH to tunnel X connections, but you don't have to.

> Now if I rlogin under my user account 'mwh' it lets me in then IMMEDIATELY
> closes the connection after welcoming me etc:
>
> mwh@laptop ~ % rlogin mwh@Athlon
> Password:
> Last login: Wed Aug 17 16:42:14 from Laptop
> [snip MOTD]
> rlogin: connection closed.

Check your logs.

> mwh@laptop ~ %
>
> ...and if I do the same for root..
>
> mwh@laptop ~ % rlogin root@Athlon
> Password:
> Login incorrect
> login:
>
> ..it doesn't recognise the root password.

It shouldn't, that's about as insecure as it gets. You *can* configure
it to allow this, but I'm leaving that as an exercise to you.

> Telnet just hangs with both mwh & root...
>
> mwh@laptop ~ % telnet -l mwh Athlon
> ^C
> mwh@laptop ~ % telnet -l root Athlon
> ^C
>
> Any thoughts on why this should be happening? Where should I look to stop
> this behaviour? I don't know where to begin because as far as I know (I'm
> not an expert on Unix) everything is set up OK.

Well, first starting point is your logs, for all of this.

-- 
   Rob MacGregor (BOFH)        Oh my God! They killed init! You bastards!
You can't stop the signal - Serenity