<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div>Hello,<br></div><div><br></div><div>I am trying to backup my Ubiquiti AirOS devices with rancid on Centos 6. I edited rancid-fe and downloaded urancid from <a href="https://github.com/dotwaffle/rancid-git/tree/master/bin">https://github.com/dotwaffle/rancid-git/tree/master/bin</a><br></div><div><br></div><div>ulogin and clogin are working properly.<br></div><div><br></div><div>Example:</div><div><br></div><div>./clogin -f ../.cloginrc -c "sort /tmp/system.cfg" 192.168.251.21<br></div><div><br></div><div>192.168.251.21
<br></div><div>spawn ssh -x -l BW-Admin 192.168.251.21
<br></div><div>BW-Admin@192.168.251.21's password:
<br></div><div>KM                       ,ok0KNWW
<br></div><div>KM               :NMMMMMMMM
<br></div><div>KM  ..             WMMMMMMMMM
<br></div><div>KM      KM             WMMMMMMMMM
<br></div><div>KM    KM               WMMMMMMMMM
<br></div><div>KM  KM  ..             WMMMMMMMMM
<br></div><div>KM  ..  KM             WMMMMMMMMM
<br></div><div>KM  KM  KM             WMMMMMMMMM
<br></div><div>KMNXWM  KM             WMMMMMMMMK
<br></div><div>KMMMMMKONM             WMMMMMMMW
<br></div><div>KMMMMMMMMM             WMMMMMMM x
<br></div><div>lMMMMMMMMM             WMMMMMN xK
<br></div><div>MMMMMMMMMl           ,WMMMP dXM:
<br></div><div>lMMMMMMMMx .        ,,,aaadXMMd
<br></div><div>lNMMMMMMW: XOxolcclodOKMMMMWc
<br></div><div>lXMMMMMNc lMMMMMMMMMMMMNo.
<br></div><div>llONMMM0c lMMMMMMNOo'
<br></div><div>'lMN;. lMWl'
<br></div><div><br></div><div>[...]<br></div><div>wpasupplicant.profile.1.network.1.psk=BWN@t4MYM@(#!^
<br></div><div>wpasupplicant.status=disabled
<br></div><div>XM.v5.6.8#exit
<br></div><div>Connection to 192.168.251.21 closed.
<br></div><div><br></div><div>So it connects properly to my test device and provide the  output<br></div><div><br></div><div>Same result for ulogin.<br></div><div><br></div><div>However when I try to launch urancid:<br></div><div><br></div><div>[rancid@localhost bin]$ ./urancid -f ../.cloginrc 192.168.251.21
<br></div><div>../.cloginrc: missed cmd(s): sort /tmp/system.cfg
<br></div><div>../.cloginrc: End of run not found
<br></div><div>#
<br></div><div><br></div></div></body></html>