Remote Shell

Remote Shell

rsh ("remote shell") is a command line computer program which can execute shell commands as another user, and on another computer across a computer network. The remote system on which the rsh executes the command needs to be running the rshd daemon.

The rsh command shares the same name as another common UNIX utility, the restricted shell, which first appeared in PWB/UNIX; in System V Release 4, the restricted shell is often located at /usr/lib/rsh.

History

rsh originated as part of the BSD Unix operating system, along with rcp, as part of the rlogin package on 4.2BSD in 1983. rsh has since been ported to other operating systems.

Limitations

As described in the rlogin article, the rsh protocol is not secure for network use, because it sends unencrypted information over the network, among other reasons. Some implementations also authenticate by sending unencrypted passwords over the network. rsh has largely been replaced by the very similar ssh ("secure shell") program on untrusted networks like the internet.

Example

As an example of rsh use, the following executes the command "mkdir testdir" as user "remoteuser" on the computer "host.example.com": rsh -l remoteuser host.example.com "mkdir testdir"

After the command has finished rsh terminates. If no command is specified then rsh will log in on the remote system using rlogin. The network location of the remote computer is looked up using the Domain Name System.

Port number

rsh uses well-known port TCP 514.

References

* [http://unixhelp.ed.ac.uk/CGI/man-cgi?rsh rsh - remote shell] - rsh man page.
* [http://www.securityfocus.com/infocus/1490 Back to the Basics: Solaris and inetd.conf Part One]
* [http://the.earth.li/~sgtatham/putty/0.53b/htmldoc/Chapter7.html Plink - a part of the PuTTY suite of free tools which provides similar behaviour for MS Windows clients]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Remote Shell — RSH im TCP/IP‑Protokollstapel: Anwendung RSH Transport TCP Internet IP (IPv4, IPv6) Netzzugang Ethernet Token …   Deutsch Wikipedia

  • Remote shell — Rsh Rsh (de l anglais remote shell) est une commande de shell sous UNIX ou LINUX. Ce programme est issu du package rlogin, et permet de se connecter (logger) sur une autre machine pour exécuter une unique commande. Pour pouvoir le faire, il faut… …   Wikipédia en Français

  • Shell (computing) — A shell is a piece of software that provides an interface for users of an operating system which provides access to the services of a kernel. However, the term is also applied very loosely to applications and may include any software that is… …   Wikipedia

  • Remote login — Rlogin im TCP/IP‑Protokollstapel: Anwendung Rlogin Transport TCP Internet IP (IPv4, IPv6) Netzzugang Ethernet Tok …   Deutsch Wikipedia

  • Shell Account — Ein Shell Account ist ein Benutzerkonto auf einem entfernten Rechner, über das der Benutzer auf Grundlage einer Shell Zugriff auf diesen erhält. Inhaltsverzeichnis 1 Verwendung des Begriffs 2 Betriebssysteme mit Shell Unterstützung 3 Eingesetzte… …   Deutsch Wikipedia

  • Shell account — Ein Shell Account ist ein Benutzerkonto auf einem entfernten Rechner, über das der Benutzer auf Grundlage einer Shell Zugriff auf diesen erhält. Inhaltsverzeichnis 1 Verwendung des Begriffs 2 Betriebssysteme mit Shell Unterstützung 3 Eingesetzte… …   Deutsch Wikipedia

  • Remote Desktop Services — Developer(s) Microsoft Stable release 7.0 (6.1.7600) / October 27, 2009 …   Wikipedia

  • Remote File Inclusion — Saltar a navegación, búsqueda RFI (Remote File Inclusion), traducido al español como Inclusión Remota de Archivos vulnerabilidad existente solamente en páginas dinámicas en PHP que permite el enlace de archivos remotos situados en otros… …   Wikipedia Español

  • Shell shoveling — Shell shoveling, in network security, refers to the act of redirecting the input and output of a shell to a service so that it can be remotely accessed.In computing the most basic method of interfacing with the operating system is the shell, on… …   Wikipedia

  • Remote File Inclusion — (RFI) is a technique used to attack Internet websites from a remote computer. With malicious intent, it can be combined with the usage of XSA to harm a webserver.How the attack worksRemote File Inclusion attacks allow malicious users to run their …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”