Fix Shellinabox (SSH from the Expert Page) on Nano-Spot systems

From PiStar Wiki
Jump to navigationJump to search

Use an SSH client to connect to your Nano-Spot

Make the disk RW

 [email protected](ro):~$ rpi-rw

Change to the /tmp folder and download the files we need;

 [email protected](rw):~$ cd /tmp
 [email protected](rw):~$ curl --fail -O -s
 [email protected](rw):~$ curl --fail -O -s

Install the packages

 [email protected](rw):~$ sudo dpkg -i /tmp/libssl1.0.2_1.0.2l-2+deb9u3_armhf.deb
 [email protected](rw):~$ sudo dpkg -i /tmp/shellinabox_2.20_armhf.deb

Update the OS and Pi-Star, it's important to run this from your current session, the OS is not updated when run from the dashboard. This is expected to take a while, there are probably quite a few updates to do since its been broken.

 [email protected](rw):~$ sudo pistar-update

While you are here, might as well upgrade too...

 [email protected](rw):~$ sudo pistar-upgrade

Finally start Shellinabox

 [email protected](rw):~$ sudo restart shellinabox

You should now be able to use SSH from the expert menu.