summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-04-19 18:11:20 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-04-19 18:11:20 +0000
commit24cabd45b858da9b76abab757a48b97257606b89 (patch)
tree6617730af2ad580a47dcc1ac344bb409ebe4f710 /lib/libc
parentff3fe845756cdafbdd79cf9d7aa5786b643184b5 (diff)
change some rsh references to ssh. poke by jmc
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/rcmd.38
-rw-r--r--lib/libc/net/rcmdsh.310
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3
index a17872a9b98..b77e417b87e 100644
--- a/lib/libc/net/rcmd.3
+++ b/lib/libc/net/rcmd.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcmd.3,v 1.30 2014/04/18 22:04:54 jmc Exp $
+.\" $OpenBSD: rcmd.3,v 1.31 2014/04/19 18:11:19 tedu Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 18 2014 $
+.Dd $Mdocdate: April 19 2014 $
.Dt RCMD 3
.Os
.Sh NAME
@@ -75,7 +75,7 @@ Alternately, if the user is not the superuser,
will invoke
.Xr rcmdsh 3
to run the command via
-.Xr rsh 1 .
+.Xr ssh 1 .
While
.Fn rcmd
can handle IPv4 cases only,
@@ -247,7 +247,7 @@ The error code
is overloaded to mean
.Dq all network ports in use .
.Sh SEE ALSO
-.Xr rsh 1 ,
+.Xr ssh 1 ,
.Xr intro 2 ,
.Xr bindresvport 3 ,
.Xr bindresvport_sa 3 ,
diff --git a/lib/libc/net/rcmdsh.3 b/lib/libc/net/rcmdsh.3
index 787f9863c22..702fb1d1631 100644
--- a/lib/libc/net/rcmdsh.3
+++ b/lib/libc/net/rcmdsh.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcmdsh.3,v 1.15 2014/04/18 22:04:54 jmc Exp $
+.\" $OpenBSD: rcmdsh.3,v 1.16 2014/04/19 18:11:19 tedu Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 18 2014 $
+.Dd $Mdocdate: April 19 2014 $
.Dt RCMDSH 3
.Os
.Sh NAME
@@ -42,7 +42,7 @@ 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 rsh 1
+.Xr ssh 1
or the value of
.Fa rshprog
(if non-null).
@@ -81,7 +81,7 @@ The
function returns a valid socket descriptor on success.
It returns \-1 on error and prints a diagnostic message on the standard error.
.Sh SEE ALSO
-.Xr rsh 1 ,
+.Xr ssh 1 ,
.Xr socketpair 2 ,
.Xr rcmd 3
.Sh HISTORY
@@ -91,5 +91,5 @@ function first appeared in
.Ox 2.0 .
.Sh BUGS
If
-.Xr rsh 1
+.Xr ssh 1
encounters an error, a file descriptor is still returned instead of \-1.