[rancid] .cloginrc add method hostname {ssh:-port} for mtlogin/mtrancid?
Lukasz Sokol
el.es.cr at gmail.com
Wed Jun 3 14:07:39 UTC 2015
On 03/06/15 08:56, Alan McKinnon wrote:
[...]
>> ~$ cat .cloginrc
>> add user * username
>> add password * r4n60mk3y57r0k35
>> add method * ssh
>> add identity * /var/lib/rancid/.ssh/id_ssa_for_mt_backup
>
> These 4 override everything below as * matches everything. The rule is
> "first match wins", so move them t the end of the file where they will
> act as a default
>
>
Thanks!
but as heasley said, rancid 3 onwards :J
rancid at george:~$ bin/mtlogin hostname
hostname
Error: unknown connection method: ssh:65122
will get there, eventually :)
>
>> add method hostname {ssh:65122}
>> ~$ bin/mtlogin hostname
>> hostname
>> spawn ssh -i /var/lib/rancid/.ssh/id_ssa_for_mt_backup -c 3des -x -l username+ct hostname
>> ssh: connect to host hostname port 22: Connection refused
>> ...
>>
>> Thanks anyway,
>>
>> Lukasz
>
Lukasz
More information about the Rancid-discuss
mailing list