-
Leigh B. Stoller authored
script that checks the database to see if local or remote. The problem with this is that the ssh syntax makes it hard to determine the host name by inspection. Would need to parse all the ssh args (bad idea), ot work backwards and try to figure out the difference between the command (which is not a string but a sequence of args) and the host and the preceeding ssh args. Hell with that! Changed sshtb to require a specific -host argument. Read the args and look for it. Error out of not found, to catch improper usage. The moral of this update: "sshtb [ssh args] -host <host> [more args ...]
231fc2b1