Solved

What is the difference between rsh and rlogin ?

Posted on 2009-04-06
3
2,375 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
[X]
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
3 Comments
 
LVL 78

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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Suggested Solutions

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 …
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…
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.

730 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