User manual

Chapter 2 - General Purpose Command Set Rshd Command (Remote Shell)
Alvarion BreezeNET B130/B300 GigE 20 Operational User Manual
2.11 Rshd Command (Remote Shell)
RSH (remote shell) protocol support module.
Syntax:
rshd {enable | ipstat | disable} RUSER RHOST LUSER
rshd start | stop | flush | [-]log
Description:
The built-in RSH server makes it possible remote command execution using the
rsh program. Identification is based on using privileged TCP ports and a list of
authorized hosts.
By default, the RSH server is disabled. To start and stop the server, the
commands rshd start and rshd stop are executed. When started, the server
ignores requests for command execution until at least one valid system entry is
enabled.
A system entry is specified by an rshd enable command with three parameters:
RemoteUSER - the name of a remote user (up to 16 symbols)
RemoteHOST - IP-address of a remote host
LocalUSER - the name of a local user (up to 16 symbols)
A request for command execution is serviced only if for all three parameters it
specifies the values corresponding to a valid entry.
Up to 6 independent entries may be defined.
The name of a local user is in no relation with the WANFleX main authorization
system; it may be considered simply as a keyword.
To disable an entry, an rshd disable command is executed with parameters
defining that entry.
The rshd flush command clears the rsh server configuration.
The RSH server may be conveniently used e.g. for periodic reading of a device
statistics using ipstat option:
rsh ipstat admin bnb.domain.com mysecretuser