You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recommend using sendsparingly, mainly when you don't expect flow to continue, such as hanging up. Otherwise we might get desynchronised with prompts.
Recommended way would be cmd "enable", enable_prompt_regep. We have good example in ios.rb, which also handles case where users need to enable, but don't have enable secret (arguably misconfig, but common one and customer education is not a reasonable goal).
cfg:telnet,:sshdo# preferred way to handle additional passwordspost_logindoifvars(:enable) == truecmd"enable"elsifvars(:enable)cmd"enable",/^[pP]assword:/cmdvars(:enable)endendend
Please add post_login 'enable' for ssh in the RGOS model. Thanks in advance
The text was updated successfully, but these errors were encountered: