[CentOS] Can expect do this?
Barry Brimer
lists at brimer.org
Tue Nov 11 17:25:51 UTC 2008
Quoting MHR <mhullrich at gmail.com>:
> On Tue, Nov 11, 2008 at 5:03 AM, Barry Brimer <lists at brimer.org> wrote:
> >
> > Use autoexpect. It will write the expect script for you. I can't think of
> > any reason why this wouldn't work.
> >
>
> It probably will, but there are severe security issues with this sort
> (plain text passwords) of approach. I try to avoid those like the
> plague they can turn out to be, usually when you least expect or need
> it.
There are no doubt severe security issues with this method, but the OP stated
that key-authenticated sessions were not permissible. He would be better off
encouraging the powers that be to allow key-authenticated session.
More information about the CentOS
mailing list