[rancid] Mikrotik + ssh with cert + rancid + as rancid user = can not login ?
heasley
heas at shrubbery.net
Fri Mar 13 14:40:05 UTC 2015
Fri, Mar 13, 2015 at 01:42:56PM +0000, Lukasz Sokol:
> rancid at george:~$ bin/mtlogin myrouter
> myrouter
> spawn ssh -c 3des -x -l myuser+ct myrouter
what is the full spawn line above?
> myuser+ct at myrouter's password:
> Permission denied, please try again.
> myuser+ct at myrouter's password: y
> Permission denied, please try again.
> myuser+ct at myrouter's password:
> Permission denied (password).
>
> Error: Check your passwd for myrouter
> rancid at george:~$
>
> So it seems to be somehow /not/ noticing there is a certificate to be used...?
>
> ...but :
>
> > rancid at george:~$ ls -l .ssh/
> total 12
> -rw------- 1 rancid rancid 668 Dec 27 2013 id_ssa_for_mt_backup
>
> ...and :
>
> > rancid at george:~$ ssh -i .ssh/id_ssa_for_mt_backup myuser at myrouter
>
> gives me ssh to Mikrotik myrouter as normal...
>
> ~rancid/.cloginrc has
>
> add user * myuser
> add password * totallyboguspassword
> add method * ssh
> add identity * /var/lib/rancid/.ssh/id_ssa_for_mt_backup // this line on 'lukasz' user is without path
>
> Any pointer / keyword / wave of hand would be appreciated.
>
> Kind Regards
>
> el es
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
More information about the Rancid-discuss
mailing list