|
|
Using the PPP Outgoing Connection Wizard, you can define a login script that will be used to log into a remote system. To use a login script, select Yes. To disable its use, select No.
In the Expect and Send fields,
enter up to five pairs of strings that will be used for the
login dialog.
The expect string only has to match part of the full string
that the remote machine returns.
For example, if the remote machine prints ``Login:'' to
prompt for a user name, the expect string could be set to
ogin:
and the send string would be set to the user name.
(replacing ``<USER>'')
Similarly, if the remote machine prints
``Password:'' to prompt for a password, the expect string could be set to
``ssword:'' and the send string would be set to the user's password
(replacing ``<PASSWORD>'')
ogin:--ogin:
,
"" \r ogin:--ogin:
,
or "" \r ogin:-BREAK-ogin:
.
You may also need to enter a pair of expect and send strings to start a PPP session on the remote machine.
See the Systems(4bnu) manual page for a description of the escape characters that you can use in login scripts to represent special items such as carriage returns, spaces, backspaces, and time delays.