Changing the Remote Shell Command

Some environments require that you create your own autolaunch command. You might do this, for example, if your remote shell command does not provide the security required by your site and you need to invoke remote processes by using a more secure command.

If you create your own autolaunch command, you must invoke tvdsvr by using the -callback and -set_pw arguments.

If you are not sure whether rsh (or remsh on HP machines) works at your site, try typing "rsh hostname" (or "remsh hostname") from an xterm, where hostname is the name of the host upon which you want to invoke the remote process. If this command prompts you for a password, you must add the host name of the host machine to your .rhosts file on the target machine.

For example, you could use a combination of the echo and telnet commands:

echo %D %L %P %V; telnet %R

Once telnet establishes a connection to the remote host, you could 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 machine does not have a command for invoking a remote process, you cannot use the autolaunch feature and should disable it.

For information on the rsh and remsh commands, refer to the manual page supplied with your operating system.

 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0