H3C MSR 20-20 Command Reference Manual page 2081

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

136
rsh
Syntax
View
Parameter
Description
Example
RSH C
ONFIGURATION
rsh host [ user username ] command remote-command
User view
host: IP address or host name of the remote host, a string of 1 to 20 characters.
user username: Specifies the username for remote login, which is a string of 1 to
20 characters. If you specify no username, the system name of the device, which
can be set by using the sysname command, applies.
remote-command: Command to be executed remotely. The commands available
depend on the operating system running on the RSH server.
Use the
command to execute an operating system (OS) command of a remote
rsh
host.
You can operate on the RSH client to remotely execute the OS commands of the
RSH server and query/access information as well.
# Display information about the directories and files on remote server
169.254.1.100, which is running Windows 2000.
<Sysname> rsh 169.254.1.100 com dir
Trying 169.254.1.100 ...
Press CTRL+K to abort
Volume in drive C is SYSTEM
Volume Serial Number is 2A0F-18DF
Directory of C:WRSHDNT
2004-07-13
09:10
2004-07-13
09:10
2001-05-10
09:04
2001-12-05
15:36
1996-08-05
15:39
1998-10-13
16:31
2004-01-02
23:05
2003-02-26
17:04
1997-08-26
16:05
2001-12-07
17:28
2003-06-21
10:51
2001-12-09
16:41
C
<DIR>
.
<DIR>
..
162,304 UNWISE.EXE
45,056 wrshdcfg.exe
48,128 ctrlrshd.exe
31,744 forewin.exe
40,625 history.txt
6,822 order.txt
23,552 whoami.exe
122,880 wrshdctl.exe
192,512 wrshdnt.cpl
38,991 wrshdnt.hlp
OMMANDS

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents