Code Monkey home page Code Monkey logo

pisces-scripts's Introduction

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 

pisces-scripts's People

Contributors

joanmarcriera avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.