icon Top 9 categories map      RocketAware >

rsh(1)

Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.


The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Home

Search all pages


Subjects

By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Math
Integer, Floating point, Matrix, Statistics, Boolean, ...

Processing
Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Communications
Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...

    

RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD RedHat Solaris Others



RSH(1)                     OpenBSD Reference Manual                     RSH(1)

NAME
     rsh - remote shell



SYNOPSIS
     rsh [-Kdnx] [-k realm] [-l username] host [command]

DESCRIPTION
     rsh executes command on host.

     rsh copies its standard input to the remote command, the standard output
     of the remote command to its standard output, and the standard error of
     the remote command to its standard error.  Interrupt, quit and terminate
     signals are propagated to the remote command; rsh normally terminates
     when the remote command does.  The options are as follows:

     -K    The -K option turns off all Kerberos authentication.

     -d    The -d option turns on socket debugging (using setsockopt(2))  on
           the TCP sockets used for communication with the remote host.

     -k    The -k option causes rsh to obtain tickets for the remote host in
           realm instead of the remote host's realm as determined by
           krb_realmofhost(3).

     -l    By default, the remote username is the same as the local username.
           The -l option allows the remote name to be specified.  Kerberos au-
           thentication is used, and authorization is determined as in
           rlogin(1).

     -n    The -n option redirects input from the special device /dev/null
           (see the BUGS section of this manual page).

     -x    The -x option turns on DES encryption for all data exchange.  This
           may introduce a significant delay in response time.

     If no command is specified, you will be logged in on the remote host us-
     ing rlogin(1).

     Shell meta-characters which are not quoted are interpreted on local ma-
     chine, while quoted meta-characters are interpreted on the remote ma-
     chine.  For example, the command

           rsh otherhost cat remotefile >> localfile

     appends the remote file remotefile to the local file localfile, while

           rsh otherhost cat remotefile ">>" other_remotefile

     appends remotefile to other_remotefile.

FILES
     /etc/hosts

SEE ALSO
     rlogin(1),  kerberos(3),  krb_realmofhost(3),  krb_sendauth(3),  rcmd(3)

HISTORY
     The rsh command appeared in 4.2BSD.

BUGS
     If you are using csh(1) and put a rsh in the background without redirect-
     ing its input away from the terminal, it will block even if no reads are
     posted by the remote command.  If no input is desired you should redirect
     the input of rsh to /dev/null using the -n option.

     You cannot run an interactive command (like rogue(6) or vi(1))  using
     rsh; use rlogin(1) instead.

     Stop signals stop the local rsh process only; this is arguably wrong, but
     currently hard to fix for reasons too complicated to explain here.

OpenBSD 2.6                      July 24, 1991                               2

Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.



(Corrections, notes, and links courtesy of RocketAware.com)


[Detailed Topics]
FreeBSD Sources for rsh(1)
OpenBSD sources for rsh(1)


[Overview Topics]

Up to: Remote Process Creation and Control - Methods of starting and controlling processes remotely. (telnet, login, rexec, et al.)


RocketLink!--> Man page versions: OpenBSD FreeBSD NetBSD RedHat Solaris Others






Rapid-Links: Search | About | Comments | Submit Path: RocketAware > rsh.1/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments