summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-12-10 02:29:49 +0000
committerderaadt <deraadt@openbsd.org>2000-12-10 02:29:49 +0000
commited150050d9485573042a98a9d0ab54eb444be651 (patch)
tree9fa376be1329aa2186ba6014afd89a20676f9e6b
parentremove unnecessary '\n' (diff)
downloadwireguard-openbsd-ed150050d9485573042a98a9d0ab54eb444be651.tar.xz
wireguard-openbsd-ed150050d9485573042a98a9d0ab54eb444be651.zip
change default connection protocol from "rsh" to "ssh", so that CVS_RSH
no longer needs setting.
-rw-r--r--gnu/usr.bin/cvs/src/client.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/usr.bin/cvs/src/client.c b/gnu/usr.bin/cvs/src/client.c
index 748132a9310..fb98fc04e67 100644
--- a/gnu/usr.bin/cvs/src/client.c
+++ b/gnu/usr.bin/cvs/src/client.c
@@ -4661,8 +4661,11 @@ start_rsh_server (tofdp, fromfdp)
remain "rsh", and tell HPUX users to specify remsh, for
example in CVS_RSH or other such mechanisms to be devised,
if that is what they want (the manual already tells them
- that). */
- cvs_rsh = "rsh";
+ that).
+ Nowadays, however, ssh is pretty much everywhere, so we start
+ to default to ssh instead.
+ */
+ cvs_rsh = "ssh";
if (!cvs_server)
cvs_server = "cvs";
@@ -4719,7 +4722,7 @@ start_rsh_server (tofdp, fromfdp)
char *command;
if (!cvs_rsh)
- cvs_rsh = "rsh";
+ cvs_rsh = "ssh";
if (!cvs_server)
cvs_server = "cvs";