[rancid] backing up ubiquiti edgerouter

Alex DEKKER rancid at ale.cx
Fri Jul 20 15:53:09 UTC 2018


On 20/07/18 15:22, Craig Hopkins wrote:
>
>
> That's only part of it, though. I still need the right .cloginrc 
> commands. If I use ulogin, then:
>
> $ ulogin MYDEVICE
> MYDEVICE
> spawn ssh -x -l ubnt MYDEVICE
> Welcome to EdgeOS
>
> By logging in, accessing, or using the Ubiquiti product, you
> acknowledge that you have read and understood the Ubiquiti
> License Agreement (available in the Web UI at, by default,
> http://192.168.1.1) and agree to be bound by its terms.
>
> Linux MYDEVICE 3.10.107-UBNT #1 SMP Fri Jun 22 14:27:52 UTC 2018 mips64
> Welcome to EdgeOS
> Last login: Fri Jul 20 09:09:49 2018 from MY.IP.GOES.HERE
> ubnt
> ubnt at MYDEVICE:~$ ubnt
> -vbash: ubnt: command not found
> ubnt at MYDEVICE:~$
>
> Where is that extra "ubnt" coming from?

I expect the "Last login:" message is confusing ulogin and that's why it 
sends the username again.

alexd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20180720/7c2b69ec/attachment.html>


More information about the Rancid-discuss mailing list