LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Who can tell me how to rlogin to linux system from windows (https://www.linuxquestions.org/questions/linux-software-2/who-can-tell-me-how-to-rlogin-to-linux-system-from-windows-103258/)

iamthewind 10-12-2003 09:35 PM

Who can tell me how to rlogin to linux system from windows
 
what's up! Everyone!

My operation system is RH9 ,and It stays in my office .So , I want to rlongin my machine when I am home ,And the system I use home is Win2000.But I don't know what should I do to let me rlogin.

Who can tell me . Thanks, Everyone , A step by step manual is better. 3ks!

teknomage1 10-12-2003 09:56 PM

Don't use rlogin! it's crazy insecure and it sends your password PLAIN TEXT across the internet. Use ssh on your redhat system it should already be installed. Run sshd on the redhat system and download a program called PuTTY for windows. Configure it to use port 22 and you're good to go
rpm -q openssh should tell you if you have ssh
man ssh and man sshd should tell you how to use them
http://www.chiark.greenend.org.uk/~sgtatham/ putty/download.html putty download sight

iamthewind 10-12-2003 10:52 PM

I have installed it !
And I have upgrade it just now! to 3.7p1-1
I just want to remotely log in , anyway is OK
may u tell me how to use putty?
thanks again!

meldroc 10-13-2003 12:04 AM

PuTTY and ssh are the way to go. As far as PuTTY goes, once you download it onto your windows box, just double-click to start the executable, and it will have a dialog asking which host you want to connect to, and which protocol you wish to use (hint: ssh). Click OK, and it will bring up a terminal window and ask you to log in.

iamthewind 10-13-2003 10:01 AM

Thanks for your help
but now ,It is not putty 's problem ,I take putty down and have run it ,but it can't connect to the linux.
I've opend ssh sevice using # service sshd start
but may be I have some problem with openssh ,and my linux was configured wrong! may you show me some suggestion?

swell 10-13-2003 01:25 PM

Check your hosts.allow and hosts.deny. If you know the IP address of your home computer, then just add it into hsots.allow. If not, don't use hosts.deny to block any IP.

teval 10-13-2003 01:56 PM

I don't beleive putty lets you forward X11
Isn't rlogin that remote desktop program that NT has?
If you want to see the other computer's desktop there actually is a free program from that. Apparently a spinoff from a reasearch project at AT&T. I've used it many times to reapair some of my friend's windows computers. Since I don't have windows, it's the only program that is truly cross-platform that I could find.
ssh is nice, and very useful, but sometimes getting the other computer's desktop is important too :)
http://www.realvnc.com/

teknomage1 10-13-2003 06:20 PM

Regardless you can't forward X11 windows to an NT desktop. If you're trying to log into your computer at work from your computer at home, first find out if your company has a firewall or something that would prevent you from getting there, next make sure you know your ip address and that it's not an internal lan only address such 192.168.*.*. Next see if there's a sysadmin available who can help you set everything up...finally maybe get linux at home..haha just kidding, but seriously ask your local systems administrator about your problem.

uglydot 10-13-2003 06:45 PM

VNC is a lot of fun, makes networking that stupid printer so much easier because I don't have to get up.

frieza 10-13-2003 06:50 PM

actually, yes you can forward X11 to a windows NT desktop, there is a program called mi/x that is an X server for windows it isn't free, althought there is a demo for you to give it a try

iamthewind 10-13-2003 09:02 PM

Thanks a lot for your help!
but may be I didn't express clearly ,what I want to do is to log in linux from my home computer(windows) so, the linux is server and the windows is client ,but when I open the ssh service , isn't the linux be client ?
I am a newer ,and so puzzle ,

teval 10-13-2003 09:17 PM

What do you mean by opening the ssh service? What you're probably doing is invoking the ssh program from coomandline.
You need to launch the ssh server (the ssh daemon (note the spelling, it's what servers are called under *nix)

frieza 10-13-2003 09:39 PM

exactly, run the SSHd, on your linux box and then run putty on the windows box to connect to the windows box, as for X, well, that's upt to you and not exactly free

JimDog 10-13-2003 11:33 PM

Maybe I can clear things up (I'm a newbie as well).

My situation was very similar...I have RH9 at home and W2K at work....so I started the sshd program at home (notice sshd is a daemon, so it's a "server" not a client).

Then from work on my Win2K machine I installed Cygwin....this way I can ssh into home AS WELL as forward my X11 desktop to my Win2K machine (I did try the mi/x thing but it wasn't free; cygwin is).

Note a couple of things...

1) my work has a firewall/proxy setup...so I had to use htc/hts to go through the firewall/proxy.
2) Forwarding X11 is way cool, but to be honest from all the tests I've done, using VNC is faster than forwarding X11 and it's the same end result.

Good Luck.
p.s.
Cygwin: www.cygwin.com
hts/htc: http://www.nocrew.org/software/httptunnel/
VNC: www.realvnc.com

frieza 10-14-2003 12:02 AM

cygwin.... yes, i forgot about that, it can run X as well and it's free as far as i can rembember


All times are GMT -5. The time now is 03:15 AM.