Cisco switch SSH login and secondary enable password with LastPass integration

Cisco switch SSH login and secondary enable password with LastPass integration

avatar
jared02
Disabled

Hi there
We use LastPass as our credential repository and I can't find a way to both auto login to a Cisco device and auto elevate privileges using the "enable" command. The enable command requires an additional password which we maintain in LastPass in a different field.
The initial login to a Cisco device using SSH is working fine, after login I'd like to be able to use an after login typing macro to issue the "enable" command followed by the "enable password", herein lies the problem as I can't see any way to reference a secondary password field using a LastPass credential.
I do see there is a "macro_password" variable that could be used within RemoteDesktop Manager however that references a password in RDM rather than our preferred repository LastPass.

Is there a way to do what I'm asking?

All Comments (3)

avatar

Hello,

Where is stored the second password that you would like to send? Is it the same one or is it different?

Best Regards,

Etienne Lord

avatar

The second password is in LastPass as a custom field on the same credential entry as the first password, though if required we could move the second password to a separate credential entry within LastPass.
The second password is different.

avatar

Hello,

It would not be possible to fetch the second credentials directly from LastPass, however, by moving the credentials inside a separate credentials, it would be possible for you to use the Copy Password button and paste the password into the proper window.

Best regards,

Jeff Dagenais