From ced0a636ea3019be34cde69ce13744609b7bcba9 Mon Sep 17 00:00:00 2001 From: tedu Date: Sat, 19 Apr 2014 18:11:19 +0000 Subject: [PATCH] change some rsh references to ssh. poke by jmc --- lib/libc/net/rcmd.3 | 8 ++++---- lib/libc/net/rcmdsh.3 | 10 +++++----- usr.bin/rdist/rdist.1 | 5 ++--- usr.bin/rdistd/rdistd.1 | 7 ++----- 4 files changed, 13 insertions(+), 17 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. diff --git a/usr.bin/rdist/rdist.1 b/usr.bin/rdist/rdist.1 index 89e86653db6..6295e1ea98e 100644 --- a/usr.bin/rdist/rdist.1 +++ b/usr.bin/rdist/rdist.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rdist.1,v 1.42 2014/02/13 09:18:44 schwarze Exp $ +.\" $OpenBSD: rdist.1,v 1.43 2014/04/19 18:11:19 tedu Exp $ .\" .\" Copyright (c) 1983 Regents of the University of California. .\" All rights reserved. @@ -30,7 +30,7 @@ .\" $From: rdist.man,v 6.34 1996/01/29 22:37:19 mcooper Exp $ .\" @(#)rdist.1 6.6 (Berkeley) 5/13/86 .\" -.Dd $Mdocdate: February 13 2014 $ +.Dd $Mdocdate: April 19 2014 $ .Dt RDIST 1 .Os .Sh NAME @@ -818,7 +818,6 @@ notifying root@cory if an update has happened: .Dl $ rdist sendmail.cf .Sh SEE ALSO .Xr rdistd 1 , -.Xr rsh 1 , .Xr sh 1 , .Xr ssh 1 , .Xr re_format 7 , diff --git a/usr.bin/rdistd/rdistd.1 b/usr.bin/rdistd/rdistd.1 index f177b6ed873..b76d6545ff1 100644 --- a/usr.bin/rdistd/rdistd.1 +++ b/usr.bin/rdistd/rdistd.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rdistd.1,v 1.10 2009/03/09 15:28:32 jmc Exp $ +.\" $OpenBSD: rdistd.1,v 1.11 2014/04/19 18:11:19 tedu Exp $ .\" .\" Copyright (c) 1983 Regents of the University of California. .\" All rights reserved. @@ -30,7 +30,7 @@ .\" $From: rdistd.man,v 6.2 1994/02/08 22:17:17 mcooper Exp $ .\" @(#)rdistd.8 6.6 (Berkeley) 5/13/86 .\" -.Dd $Mdocdate: March 9 2009 $ +.Dd $Mdocdate: April 19 2014 $ .Dt RDISTD 1 .Os .Sh NAME @@ -48,8 +48,6 @@ command. It is normally run by .Em rdist via -.Xr rsh 1 -or .Xr ssh 1 . .Pp The options are as follows: @@ -69,5 +67,4 @@ Print version information and exit. .El .Sh SEE ALSO .Xr rdist 1 , -.Xr rsh 1 , .Xr ssh 1 -- 2.20.1