aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-02-25 16:12:00 +0100
committerHans Bolinder <[email protected]>2019-02-25 16:12:00 +0100
commit42f0f3fcbce009e56270fdccdb6f0a85e3b4b368 (patch)
tree460000ee4b1284085deab2df5d147cd7eabf8aa0 /lib/inets
parent9ff209580d4d9b26ae62055c3a8fbcef784a1622 (diff)
parent4657060caaf43c40aae70225156db94805178bf8 (diff)
downloadotp-42f0f3fcbce009e56270fdccdb6f0a85e3b4b368.tar.gz
otp-42f0f3fcbce009e56270fdccdb6f0a85e3b4b368.tar.bz2
otp-42f0f3fcbce009e56270fdccdb6f0a85e3b4b368.zip
Merge branch 'siri/rsh-ssh/PR-1787'
OTP-15633 * siri/rsh-ssh/PR-1787: Fix some missed comments about rsh Document the restrictions on the -rsh command Use ssh as the default remote shell
Diffstat (limited to 'lib/inets')
-rw-r--r--lib/inets/examples/httpd_load_test/hdlt_slave.erl11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/inets/examples/httpd_load_test/hdlt_slave.erl b/lib/inets/examples/httpd_load_test/hdlt_slave.erl
index 5ee005629d..30ddfd76af 100644
--- a/lib/inets/examples/httpd_load_test/hdlt_slave.erl
+++ b/lib/inets/examples/httpd_load_test/hdlt_slave.erl
@@ -44,18 +44,17 @@
%% this to work is that the 'erl' program can be found in PATH.
%%
%% If the master and slave are on different hosts, start/N uses
-%% the 'rsh' program to spawn an Erlang node on the other host.
+%% the 'ssh' program to spawn an Erlang node on the other host.
%% Alternative, if the master was started as
%% 'erl -sname xxx -rsh my_rsh...', then 'my_rsh' will be used instead
-%% of 'rsh' (this is useful for systems where the rsh program is named
-%% 'remsh').
+%% of 'ssh' (this is useful for systems still using rsh or remsh).
%%
%% For this to work, the following conditions must be fulfilled:
%%
-%% 1. There must be an Rsh program on computer; if not an error
+%% 1. There must be an ssh program on computer; if not an error
%% is returned.
%%
-%% 2. The hosts must be configured to allowed 'rsh' access without
+%% 2. The hosts must be configured to allow 'ssh' access without
%% prompts for password.
%%
%% The slave node will have its filer and user server redirected
@@ -244,7 +243,7 @@ register_unique_name(Number) ->
%% Makes up the command to start the nodes.
%% If the node should run on the local host, there is
-%% no need to use rsh.
+%% no need to use ssh.
mk_cmd(Host, Name, Paths, Args, Waiter, Prog) ->
PaPaths = [[" -pa ", Path] || Path <- Paths],