[Ovmsdev] ssh: secure mode prompt not set #31

Stephen Casner casner at acm.org
Tue Apr 10 14:41:20 HKT 2018


What this really means is that my previous implementation of the
secure mode prompt was in the wrong place.  I've fixed it, isolating
the setting of the prompt into OvmsShell.  This removes the
SetPrompt() API from OvmsWriter, which is good, at the cost of making
SetSecure() virtual.

                                                        -- Steve

On Tue, 10 Apr 2018, Mark Webb-Johnson wrote:

> Steve,
> Can you have a look at this one:
> https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/31 <https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/31>
> When connecting to the box via ssh, using a trusted ssh.keys mechanism, it seems that the session is correctly put into secure mode (enable). But, the prompt is OVMS> (should be OVMS#). The full set of enable commands is shown, so pretty sure the session is in enable mode.
> I think the issue is purely the prompt being incorrect.
> I think (hope) it should be simple.
> Thanks, Mark.

More information about the OvmsDev mailing list