summaryrefslogtreecommitdiff
path: root/lib/libc/net/rcmdsh.3
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-05-05 22:13:04 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-05-05 22:13:04 +0000
commit281e7fc1109444898f06fea696e18b3fa3e52fcd (patch)
treecbe95cd81a31cd125895e80cfb5afcd035ad3aab /lib/libc/net/rcmdsh.3
parent3a0bfe2f9895e062413c0718c6b8134f77d1acef (diff)
Add support for command line args in rshprog, e.g. "ssh -C".
Diffstat (limited to 'lib/libc/net/rcmdsh.3')
-rw-r--r--lib/libc/net/rcmdsh.39
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/net/rcmdsh.3 b/lib/libc/net/rcmdsh.3
index e0c59efb852..e993d2c9d50 100644
--- a/lib/libc/net/rcmdsh.3
+++ b/lib/libc/net/rcmdsh.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcmdsh.3,v 1.8 2000/12/24 00:30:56 aaron Exp $
+.\" $OpenBSD: rcmdsh.3,v 1.9 2003/05/05 22:13:03 millert Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd September 1, 1996
+.Dd May 5, 2003
.Dt RCMDSH 3
.Os
.Sh NAME
@@ -46,10 +46,13 @@ The
.Fn rcmdsh
function is used by normal users to execute a command on a remote machine
using an authentication scheme based on reserved port numbers using
-.Xr rshd 8
+.Xr rsh 1
or the value of
.Fa rshprog
(if non-null).
+.Fa rshprog
+may be a fully-qualified path, a non-qualified command, or a command containing
+space-separated command line arguments.
.Pp
The
.Fn rcmdsh