searchpi
This is a very stupid CLI tool that is designed to search for SSH-ready devices on your local network, starting with those with the most senior local IP addresses.
Before using this tool, install nmap on your computer. Then install the tool by pip:
pip install searchpi
And use:
searchpi 192.168.1.0/24 pomponchik ~/.ssh/id_rsa.pub --one
Here 192.168.1.0/24 means the range of addresses we are looking at, pomponchik is the username and ~/.ssh/id_rsa.pub is the name of the SSH key file. The --one option means that only the first address will be outputed to a console.
The command will print to the standard output the command that you will need to execute to connect to the remote machine via SSH:
>>> searchpi 192.168.1.0/24 pomponchik ~/.ssh/id_rsa.pub
ssh pomponchik@192.168.1.16
You can save your energy if you try to call the received command in the same line of code:
eval "$(searchpi 192.168.1.0/24 pomponchik ~/.ssh/id_rsa.pub --one)"
Metadata
Release files for searchpi 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| searchpi-0.0.3.tar.gz | 4.4 kB | Without provenance | Details for searchpi-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| searchpi-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for searchpi-0.0.3-py3-none-any.whl |
Total release size: 9.8 kB
Release files / searchpi-0.0.3.tar.gz
| Download URL | searchpi-0.0.3.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a4262cebfb7dfe163151d5631bd8be48d3e790c01b4b9f295e6727fbe7e1ca2
|
|
BLAKE2b-256 checksum How to use checksums |
9b49fc62fc49a9f3005c0678117faffbc2265a6ba914e2a2a4059e2b5599a2ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / searchpi-0.0.3-py3-none-any.whl
| Download URL | searchpi-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7abf0020308661945eaa6b79543bd9527d975bd75df1bc6f684bc9352da1419
|
|
BLAKE2b-256 checksum How to use checksums |
bbe44417f760b5b88df8353c6e5d6f5eebff274b8391fbe6d282f9c7b5e47e62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for searchpi 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.