add method device {ssh} not working
Ed Ravin
eravin at panix.com
Fri Sep 9 21:09:11 UTC 2005
On Fri, Sep 09, 2005 at 05:05:22PM -0400, Hopper, Faron W. wrote:
> I thought I had figured out how to force a device to use ssh
> with the add method device command. However, after specifying the
> add method command in my .cloginrc file, clogin is still using
> telnet. Can anyone shed some light on this for me?
>
> add autoenable * {0}
> add enauser * {user}
> add user * {user}
> add password * {pass} {pass}
> add method * {telnet} {ssh}
...
See my response to your other query - it's the same problem. You've
defined a match with "*" for method that tries telnet first, and
since that is the first entry in cloginrc, it always matches.
More information about the Rancid-discuss
mailing list