Re: Errors testing passwd with expect example script

Eric Jon Rostetter <[email protected]>
Newsgroups gmane.comp.horde.sork
Message-ID <[email protected]>
Quoting Javier Carlos Viegas <[email protected]>:

> expect: spawn id exp22 not open
>     while executing
> "expect -nobrace -re {The authenticity of host.* can't
> be established.*
> RSA key fingerprint is.*
> Are you sure you want to continue connecting.*}
[...]
> What am i doing wrong?

You'll need to login as the web server user, and do a manual SSH connection,
accepting the host key.  Then the script should, if not work, at least get
past this step.

The expect script could probably be setup to handle this better, so if you
want you can file an enhancment bug report at http://bugs.horde.org/ asking
for it to better handle the situation where it is a first-time ssh connection
and ssh is prompting for acceptng the new key and/or whether to continue
because it is an unknown host.

> Thanks.
> Javier.

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Go Longhorns!
-- 
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.