From 02726a620024dad6521822efaf7dd58304adfac6 Mon Sep 17 00:00:00 2001 From: tedu <> Date: Sat, 19 Apr 2014 18:11:19 +0000 Subject: change some rsh references to ssh. poke by jmc --- src/lib/libc/net/rcmd.3 | 8 ++++---- src/lib/libc/net/rcmdsh.3 | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libc/net/rcmd.3 b/src/lib/libc/net/rcmd.3 index a17872a9b9..b77e417b87 100644 --- a/src/lib/libc/net/rcmd.3 +++ b/src/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/src/lib/libc/net/rcmdsh.3 b/src/lib/libc/net/rcmdsh.3 index 787f9863c2..702fb1d163 100644 --- a/src/lib/libc/net/rcmdsh.3 +++ b/src/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. -- cgit v1.2.3-55-g6feb