fbpx
Wikipedia

Remote Shell

The remote shell (rsh) is a command line computer program that can execute shell commands as another user, and on another computer across a computer network.

remote shell (rsh)
Initial release1983; 40 years ago (1983)
Written inC
Operating systemCross-platform

The remote system to which rsh connects runs the rsh daemon (rshd). The daemon typically uses the well-known Transmission Control Protocol (TCP) port number 514.

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.

The rsh command has 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/bin/rsh.

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 with the secure shell (ssh) program, even on local networks.

Example

As an example of rsh use, the following executes the command mkdir testdir as user remoteuser on the computer host.example.com running a UNIX-like system:

$ 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.

See also

References

remote, shell, this, article, needs, additional, citations, verification, please, help, improve, this, article, adding, citations, reliable, sources, unsourced, material, challenged, removed, find, sources, news, newspapers, books, scholar, jstor, april, 2014,. This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources Remote Shell news newspapers books scholar JSTOR April 2014 Learn how and when to remove this template message The remote shell rsh is a command line computer program that can execute shell commands as another user and on another computer across a computer network remote shell rsh Initial release1983 40 years ago 1983 Written inCOperating systemCross platformThe remote system to which rsh connects runs the rsh daemon rshd The daemon typically uses the well known Transmission Control Protocol TCP port number 514 Contents 1 History 2 Limitations 3 Example 4 See also 5 ReferencesHistory EditRsh 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 The rsh command has 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 bin rsh Limitations EditAs 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 with the secure shell ssh program even on local networks Example EditAs an example of rsh use the following executes the command mkdir testdir as user remoteuser on the computer host example com running a UNIX like system 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 See also EditBerkeley r commandsReferences Editrsh remote shell rsh man page rsh 1 remote shell Darwin and macOS General Commands Manual Retrieved from https en wikipedia org w index php title Remote Shell amp oldid 1070274903, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.