Solved

What is the difference between rsh and rlogin ?

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux : adding the new user with password option, 11 107
ftpcommand 2 64
Writing a UNIX script menu allowing for multiple options. 5 56
aix unix tar error 3 66
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

770 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