Table of Contents
Command Line Server Argument
The logonstring
argument sets the Server logon information in the format user:password@server:port
.
In the event that this argument is not passed the default will be batch:batch@localhost:5000
.
Password interpretation
When specifying the password value, the following rules will apply to the interpretation of this value:
- By default the password value will be treated as the path to a file which contains a single record representing the password, rather than the password itself.
- If you wish the password value to be the literal password (rather than a file) the password should be prepended with a dash (
jsmith:-mypassword@server
). - You can also have the program read the password as the first record of
stdin
by prepending the password with a plus symbol (jsmith:+@server
).
In the event that the password is all upper case and 32 characters in length, the password will be considered an MD5 hash of the password and passed to the server without subsequent MD5 hashing.
Environmental Variables
Examples
Connect to localhost
with User-ID batch, password in file c:\tapetrack\pw\batch
on port 5000.
-S localhost
Connect to tapetrack.gazillabyte.com
with User-ID jsmith and prompt for the password on port 443.
-S jsmith:+@tapetrack.gazillabyte.com:443
Connect to tapetrack.gazillabyte.com
with User-ID jsmith and password of mypassword on port 443.
-S jsmith:-mypassword@tapetrack.gazillabyte.com:443