How can script handle an extra prompt after login?
I have a script that logs in automatically to an SFTP site, using interactive mode. It works well until the day that the site decides it is time to alert us that "Your password will expire in x days". As long as that message is sent after a login, it stops our script, because I don't know how to tell the script to say, "OK" if it should happen to get such a second prompt after logging in.
Is there a switch or something that can be used to "OK" such prompts?
Thanks,
Paul
Is there a switch or something that can be used to "OK" such prompts?
Thanks,
Paul