Results 63 comments of Samuel

This is may no longer apply with the latest version in master, since we essentially disabled the authentication hack. Could you please test again? Another potential fix is being discussed...

@bigmars86 the issue that you are describing is unrelated to this bug. It's tracked in issue #166. I'll follow up there.

I agree that would be useful. One way to implement it quickly might be to introduce a new exception type in the template processor (ExitException or something), and catch that...

While that makes sense, I would worry about runtime effects. Essentially, the response from the device is a constant stream; the message would need to be inserted into that stream...

I can imagine there being problems when using Python 2.7. Can you try if the problem persists with Python 3?

Your idea is right; you can force it that way. Except the line was not Python 3 compatible yet. I just pushed a change for that.

The use case makes sense to me... though I assume you mean that auth_method should be configurable, not auth_types. (auth_types is just a map.)

Ah, could you add the banner to `tests/Exscript/protocols/banners/nxos.2`, to make sure that there are no regressions?

`--no-authentication` means that the entire login procedure is skipped, including the SSH authentication that happens before the application layer is ready. In other words, if you device supports authentication and...

It looks like the requirements were not installed. How did you install it? Did you follow the [instructions](https://exscript.readthedocs.io/en/latest/install.html)?