Changing the Remote Shell Command
Some environments require you to create your own
autolaunching command, for example, if your remote shell command doesn’t provide the security that your site requires.
If you create your own autolaunching command, use the tvdsvr -callback and ‑set_pw command-line options.
If you’re not sure whether ssh (or rsh on Sun SPARC computers) works at your site, try typing “ssh -x hostname” (or “rsh hostname”) from an xterm window, where hostname is the name of the host on which you want to invoke the remote process. If the process doesn’t just run and instead this command prompts you for a password, add the host name of the host computer to your .rhosts file on the target computer.
For example, you can use the following combination of the echo and telnet commands:
echo %D %L %P %V; telnet %R
After telnet establishes a connection to the remote host, you can use the cd and tvdsvr commands directly, using the values of %D, %L, %P, and %V that were displayed by the echo command; for example:
cd directory
tvdsvr -callback hostname:portnumber -set_pw password
If your computer doesn’t have a command for invoking a remote process, TotalView can’t autolaunch the tvdsvr and you must disable both single server and bulk server launches.
For information on the ssh and rsh commands, see the manual page supplied with your operating system.
For more information on editing server launch commands, see
Customizing Server Launch Commands.