Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

What is the difference between rsh and rlogin ?

Posted on 2009-04-06
3
2,265 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 77

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

808 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