you can even shorten the sequence :p
ssh 192.168.1.x -l root
cd /usr/bin
mv cgminer cgminer.bak
wget http://ck.kolivas.org/apps/cgminer/antminer/s5/4.9.0-150105/cgminer
chmod +x cgminer
/etc/init.d/cgminer.sh restart
So when I ssh to the device it asks for the password, which I input and it tells me "Permission denied". What's up with that? I know it's the correct password because I log into the gui with it just fine. Hmm...