Rsh Configuration Commands; Rsh - HPE FlexNetwork HSR6800 Security Command Reference

Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

RSH configuration commands

rsh

Use rsh to execute an OS command on a remote host.
Syntax
rsh host [ user username ] command remote-command
Views
User view
Default command level
0: Visit level
Parameters
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, a string of 1 to 20 characters. If you do not
specify a username, the system name of the device, which can be set by using the sysname
command, applies.
command remote-command: Specifies the command to be executed remotely. The commands that
are available depend on the operating system running on the RSH server.
Usage guidelines
The remote host must run the RSH daemon.
Examples
# Display information about the directories and files on remote host 169.254.1.100, which is running
Windows 2000.
<Sysname> rsh 169.254.1.100 command 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
2004-07-13
2001-05-10
2001-12-05
1996-08-05
1998-10-13
2004-01-02
2003-02-26
1997-08-26
2001-12-07
2003-06-21
2001-12-09
2001-12-09
09:10
<DIR>
09:10
<DIR>
09:04
15:36
15:39
16:31
23:05
17:04
16:05
17:28
10:51
16:41
16:26
.
..
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
1,740 wrshdnt.cnt
211

Advertisement

Table of Contents
loading

Table of Contents