Solved

What is the difference between rsh and rlogin ?

Posted on 2009-04-06
3
2,020 Views
Last Modified: 2012-05-06
What is the fundamental difference between these two ? Which one recommended to use in the given particular situation? Actually these looks very old and I only used telnet and ssh yet. so willing to use them also.
0
Comment
Question by:beer9
3 Comments
 
LVL 76

Accepted Solution

by:
arnold earned 75 total points
ID: 24078464
Depending on what it is you are trying to do, ssh/scp is a better more secure approach.
rlogin remote login.
rsh remote shell.

rlogin lets you perform tasks as though you loged into the remote system.
rsh lets you execute tasks without the need to login.

rlogin: http://unixhelp.ed.ac.uk/CGI/man-cgi?rlogin
http://www.rt.com/man/rsh.1.html
http://unixhelp.ed.ac.uk/CGI/man-cgi?rsh

Often RSH and Rlogin are disabled since they often run under inetd (xinetd).


0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 50 total points
ID: 24081415
rlogin is for remote login and rsh is for remote shell. They are used like

ssh username@remotesystem (rlogin)
ssh username@remotesystem "command" (rsh)

The purpose is to set trust between two systems with out passwords (very dangerous and not recommended since it is done based on ip addresses which can be spoofed)



0
 

Author Closing Comment

by:beer9
ID: 31567051
Thanks :-)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now