eczema/ciscocmd-cosi

Error executing

Opened this issue · 4 comments

I´m getting the following output when trying to execute ciscocmd. I see activity in the target machine but then get this output.

Processing... 10.1.6.31
send: spawn id exp6 not open
while executing
"send "$password\r""
("foreach" body line 63)
invoked from within
"foreach host $hostlist {

    #####################
    # Login to the host #
    #####################

    if { [ info exist debugfile ] } {
            if { $FORK == 1 ..."
(file "./ciscocmd" line 467)

Any ideas of what might be wrong? Thanks

Your connection to the router may be closing for some reason. Try a debug session (option -d file) to get more details about the session and try finding out if there is anything wrong with the client-server conversation.

What I see in the debug messages is something about the authentication.

What do you see about the authentication?