[sork] Errors testing passwd with expect example script

Eric Jon Rostetter eric.rostetter at physics.utexas.edu
Wed Jun 14 07:45:52 PDT 2006


Quoting Javier Carlos Viegas <javiercviegas at yahoo.com.ar>:

> 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!


More information about the sork mailing list