Error executing
miguelbrsantos opened this issue · 4 comments
miguelbrsantos commented
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
alvarezp commented
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.
miguelbrsantos commented
Hi there
Thanks for the reply. I´ve only had the time to deal with this today.
What I see in the debug messages is something about the authentication. I´m
pretty sure that the username and password are correct. What am i
missing in the debug?
The command that i´m using is:
./ciscocmd -Y -f -T hosts -u batadmin -p <PASSWORD> -r commands -w 10 -d
debug
Thanks once again.
Octavio Alvarez ***@***.***> escreveu no dia quarta,
6/04/2022 à(s) 05:36:
… 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.
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AW55ARSFOYWBX6PKHH3JNM3VDUIFJANCNFSM5SEYI5ZQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
alvarezp commented
What I see in the debug messages is something about the authentication.
What do you see about the authentication?
miguelbrsantos commented
Hello.
Thanks once again for replying.
I´ve sent you the debug output in the last file. Can´t you see it?
I see "% Login invalid" all over the debug file.
[image: image.png]
I´m really running out of ideas for why it works if it's just one host in
the file and why it fails if there´s more than one.
Thanks once again.
Octavio Alvarez ***@***.***> escreveu no dia sábado,
23/04/2022 à(s) 16:48:
… What I see in the debug messages is something about the authentication.
What do you see about the authentication?
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AW55ARWX27T2OOHTZ4UGCMLVGQLVJANCNFSM5SEYI5ZQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>