mirror of
https://github.com/joanmarcriera/pisces-scripts.git
synced 2026-08-31 02:11:46 +00:00
scripts found in pisces servers
- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| bin | ||
| install | ||
| lib | ||
| Network | ||
| pisces-stuff | ||
| troubleshooting | ||
| README.md | ||
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
- Find the internal IP address of your Pisces miner.
- 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
- 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 -
- Now you should be able to ssh to YOURIP with
$> ssh __YOURIP__ -l admin
- Password: admin
- Change your password right away.
$> passwd