With openssh ssh or sftp commands, a password (or pass phrase) has to either be read from a tty or you can use an SSH_ASKPASS program. You can't pipe it in as suggested earlier in this script.
Kirk Wolf Dovetailed Technologies http://dovetail.com PS> examples of using passwords in batch / jcl scripts can be found in the Co:Z sample JCL, which is available free to use. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
