when using ssh in a ksh script where previously configured public key auth
is expected but not always the case, i want to have ssh commands that
prompt for a password to be handled as errors and exit the script. the
idea is to not have anyhing printed to the console and to exit with a
non-zero error code instead of a password prompt, etc.

clues on how to do this are appreciated.

cheers,
jake

Reply via email to