-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh key autologin fails #6
Comments
Interesting case. I guess a user could also be directly dropped in to enable level 15, so the prompt could also end in a hash sign (#) instead of a greater-than sign (>). |
Additionally, what happens with your solution if the host is not added to the host key list and thus you get the following prompt?
|
You are right. I've added the hash sign to the pattern def. It just makes sense. |
@netvipe - would be nice if you could fork ciscocmd-cosi and publish your tree, so others could pull from it. |
We're using ciscocmd in combination with ssh-key based autologin.
It turns out that ciscocmd fails to detect the next valid line if ssh key authentication in combination with a predefined ssh username is being used.
We have therefore enhanced ciscocmd to detect a possible prompt even before the first waitprompt call.
Modifications are as follows:
Maybe you would like to included that for the official version.
The text was updated successfully, but these errors were encountered: