yhost [-] <address> [options]
Adds or removes host addresses from the Y server's list of hosts allowed to connect to it.
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.
- --recorder <address:port>
- Specify which Y server to connect to.
- Print help screen and exit.
- General error.
- Cannot connect to Y server error.
- Systems error.
- Specifies the Y server <address:port> to connect to. This is a fall back if the argument --recorder is not specified.
To add 18.104.22.168 to the yhost access list, type:
# yhost 22.214.171.124
To remove 126.96.36.199 from the yhost access list, type:
# yhost - 188.8.131.52
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.