[rancid] Can clogin prompt for a password?
heas at shrubbery.net
Thu Aug 4 17:29:45 UTC 2016
Thu, Aug 04, 2016 at 11:10:35AM -0500, Brandon Ewing:
> I'll probably just resort to a cronjob that wipes my .cloginrc every 15
> minutes, and I can re-add it when I need to execute a maintenance.
you can have a .cloginrc like:
add user glob foo
add user method foo
add user other bar
.... and so on, but without 'add password'
where /home/you/.clpasswds has:
add password glob a b
... and so on.
then in your scenario you just create the latter.
[ it would be nice if vendors would store ssh keys like junos, so you could
use ssh-agent ]
More information about the Rancid-discuss