Powered by Invision Power Board


  Reply to this topicStart new topicStart Poll

> 'rsh' and 'rlogin', Whats the difference??
fishsponge
Posted: Feb 21 2003, 11:19 AM
Quote Post


Administrator
********

Group: Admin
Posts: 679
Member No.: 1
Joined: 13-February 03



What's the difference between 'rsh' and 'rlogin' ??

i know they are two separate commands, but is one simple an alias for the other? ...or is something deeper happening?
PMEmail PosterUsers WebsiteICQAOLYahooMSN
Top
nw28840
Posted: Feb 24 2003, 04:23 PM
Quote Post


Newbie
*

Group: Members
Posts: 1
Member No.: 19
Joined: 24-February 03



rsh is a remote shell
rlogin is remote login

So if you run rsh <hostname> it will be the same as an rlogin <hostname>

Difference is you can send commands to the host by activating a shell with rsh

ie. rsh <hostname> date


Should return the output of the date command on the host you specified.

:D
PMEmail Poster
Top
fishsponge
Posted: Feb 24 2003, 05:25 PM
Quote Post


Administrator
********

Group: Admin
Posts: 679
Member No.: 1
Joined: 13-February 03



gotcha...

so in theory, running
CODE
rsh <hostname> /bin/sh
is the same as running
CODE
rlogin <hostname>
right??

i know it's be kinda pointless to do that, but it's true... i think.
PMEmail PosterUsers WebsiteICQAOLYahooMSN
Top
venkat_venkamolla
Posted: Apr 7 2005, 01:54 PM
Quote Post


User Level: 2
**

Group: Members
Posts: 13
Member No.: 906
Joined: 4-April 05



No that's not only the difference:

RSH
Through rsh you can only invoke the remote shell and run command. Once your command is executed the shell is closed and connection lost.

RLOGIN
It is the remote login. once you logged in your session will start, the session lasts as long as you didnot exit from the login. So you can invoke multiple shells and execute multiple commands at the remote prompt.


I think this is the major diff
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | SSH/Telnet/RLogin/RSH | Next Newest »

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0710 ]   [ 12 queries used ]   [ GZIP Enabled ]




Partners: Cambridge Plus :: <Link Available> :: Server Room Temperature Monitor :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum