summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortedu <>2014-04-19 18:11:19 +0000
committertedu <>2014-04-19 18:11:19 +0000
commit02726a620024dad6521822efaf7dd58304adfac6 (patch)
tree8e99b5f5b58f0177a023181d720bea9737e47374
parentb4aea992b7a4c6c6413f749b318da25696bb3241 (diff)
downloadopenbsd-02726a620024dad6521822efaf7dd58304adfac6.tar.gz
openbsd-02726a620024dad6521822efaf7dd58304adfac6.tar.bz2
openbsd-02726a620024dad6521822efaf7dd58304adfac6.zip
change some rsh references to ssh. poke by jmc
-rw-r--r--src/lib/libc/net/rcmd.38
-rw-r--r--src/lib/libc/net/rcmdsh.310
2 files changed, 9 insertions, 9 deletions
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 @@
1.\" $OpenBSD: rcmd.3,v 1.30 2014/04/18 22:04:54 jmc Exp $ 1.\" $OpenBSD: rcmd.3,v 1.31 2014/04/19 18:11:19 tedu Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1991, 1993 3.\" Copyright (c) 1983, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE. 28.\" SUCH DAMAGE.
29.\" 29.\"
30.Dd $Mdocdate: April 18 2014 $ 30.Dd $Mdocdate: April 19 2014 $
31.Dt RCMD 3 31.Dt RCMD 3
32.Os 32.Os
33.Sh NAME 33.Sh NAME
@@ -75,7 +75,7 @@ Alternately, if the user is not the superuser,
75will invoke 75will invoke
76.Xr rcmdsh 3 76.Xr rcmdsh 3
77to run the command via 77to run the command via
78.Xr rsh 1 . 78.Xr ssh 1 .
79While 79While
80.Fn rcmd 80.Fn rcmd
81can handle IPv4 cases only, 81can handle IPv4 cases only,
@@ -247,7 +247,7 @@ The error code
247is overloaded to mean 247is overloaded to mean
248.Dq all network ports in use . 248.Dq all network ports in use .
249.Sh SEE ALSO 249.Sh SEE ALSO
250.Xr rsh 1 , 250.Xr ssh 1 ,
251.Xr intro 2 , 251.Xr intro 2 ,
252.Xr bindresvport 3 , 252.Xr bindresvport 3 ,
253.Xr bindresvport_sa 3 , 253.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 @@
1.\" $OpenBSD: rcmdsh.3,v 1.15 2014/04/18 22:04:54 jmc Exp $ 1.\" $OpenBSD: rcmdsh.3,v 1.16 2014/04/19 18:11:19 tedu Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1991, 1993 3.\" Copyright (c) 1983, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE. 28.\" SUCH DAMAGE.
29.\" 29.\"
30.Dd $Mdocdate: April 18 2014 $ 30.Dd $Mdocdate: April 19 2014 $
31.Dt RCMDSH 3 31.Dt RCMDSH 3
32.Os 32.Os
33.Sh NAME 33.Sh NAME
@@ -42,7 +42,7 @@ The
42.Fn rcmdsh 42.Fn rcmdsh
43function is used by normal users to execute a command on a remote machine 43function is used by normal users to execute a command on a remote machine
44using an authentication scheme based on reserved port numbers using 44using an authentication scheme based on reserved port numbers using
45.Xr rsh 1 45.Xr ssh 1
46or the value of 46or the value of
47.Fa rshprog 47.Fa rshprog
48(if non-null). 48(if non-null).
@@ -81,7 +81,7 @@ The
81function returns a valid socket descriptor on success. 81function returns a valid socket descriptor on success.
82It returns \-1 on error and prints a diagnostic message on the standard error. 82It returns \-1 on error and prints a diagnostic message on the standard error.
83.Sh SEE ALSO 83.Sh SEE ALSO
84.Xr rsh 1 , 84.Xr ssh 1 ,
85.Xr socketpair 2 , 85.Xr socketpair 2 ,
86.Xr rcmd 3 86.Xr rcmd 3
87.Sh HISTORY 87.Sh HISTORY
@@ -91,5 +91,5 @@ function first appeared in
91.Ox 2.0 . 91.Ox 2.0 .
92.Sh BUGS 92.Sh BUGS
93If 93If
94.Xr rsh 1 94.Xr ssh 1
95encounters an error, a file descriptor is still returned instead of \-1. 95encounters an error, a file descriptor is still returned instead of \-1.