SYNTAX
yhost [-] <address> [options]
DESCRIPTION
Adds or removes host addresses from the Y server's list of hosts allowed to connect to it.
ADDRESS
Specifying a - infront of the argument means to remove the <address> from the list.
<address> is the numeric IP or named address of the host you want to allow/disallow access to the Y server.
Note that the yhost command must be runned on the same physical computer as the Y server is running on.
OPTIONS
- --recorder <address:port>
- Specify which Y server to connect to.
- --help
- Print help screen and exit.
RETURN VALUE
- 0
- Success.
- 1
- General error.
- 2
- Cannot connect to Y server error.
- 3
- Systems error.
ENVIRONMENT VARIABLES
- RECORDER
- Specifies the Y server <address:port> to connect to. This is a fall back if the argument --recorder is not specified.
EXAMPLES
To add 63.97.42.127 to the yhost access list, type:
# yhost 63.97.42.127
To remove 63.97.42.127 from the yhost access list, type:
# yhost - 63.97.42.127
In all cases the yhost command must be runned on the same computer that the Y server is running on. Give IP (number and dots notation) addresses whenever possible to improve security.