scripts found in pisces servers
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Joan Marc Riera Duocastella a2664d61fd fast test
2022-04-23 22:35:17 +01:00
bin fast test 2022-04-23 22:35:17 +01:00
install small fixes 2022-01-24 21:13:51 +00:00
lib Create the user 2021-11-22 23:32:44 +00:00
Network move 2021-11-24 09:04:01 +00:00
pisces-stuff updated folders 2021-11-22 22:38:06 +00:00
troubleshooting clean cache 2022-02-13 20:38:48 +00:00
README.md Added basic way 2021-11-23 00:16:31 +00:00

Several scripts to help me manage pisces

See : piscesiot.com

Useful dashboard : https://github.com/briffy/PiscesQoLDashboard

Usage Instructions

Get ssh access.

The sure way

Put the following lines one at a time in your browser.

http://__YOURIP__/action.php/?action=shell&cmd=sudo%20adduser%20--disabled-password%20--gecos%20%22User%20to%20login%20into%20the%20box%22%20admin
http://__YOURIP__/action.php/?action=shell&cmd=echo%20admin:admin%20|%20sudo%20chpasswd
http://__YOURIP__/action.php/?action=shell&cmd=sudo%20usermod%20admin%20-g%20sudo

The automatic but not sure if it works way

  1. Find the internal IP address of your Pisces miner.
  2. Use the following link, replacing YOURIP with the IP address of your miner:
http://__YOURIP__/action.php?action=shell&cmd=wget https://raw.githubusercontent.com/joanmarcriera/pisces-scripts/main/install/create-shell-user.sh -O - | sudo bash
  1. You should never run scripts without reading them first. (Yes, this should have been number 2, I guess there is a lesson here. )
http://__YOURIP__/action.php?action=shell&cmd=wget https://raw.githubusercontent.com/joanmarcriera/pisces-scripts/main/install/create-shell-user.sh -O - 
  1. Now you should be able to ssh to YOURIP with
$> ssh __YOURIP__ -l admin 
  • Password: admin
  1. Change your password right away.
$> passwd