معرفی شرکت ها


find-sshable-0.2.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Tool to find ssh-able devices on your network.
ویژگی مقدار
سیستم عامل -
نام فایل find-sshable-0.2.3
نام find-sshable
نسخه کتابخانه 0.2.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Russell Klopfer
ایمیل نویسنده russell.klopfer@gmail.com
آدرس صفحه اصلی https://github.com/riklopfer/find-sshable
آدرس اینترنتی https://pypi.org/project/find-sshable/
مجوز GPL 3.0
Find SSH-able ============= [![Python application](https://github.com/riklopfer/find-sshable/actions/workflows/python-app.yml/badge.svg?branch=main)](https://github.com/riklopfer/find-sshable/actions/workflows/python-app.yml) Find SSH-able devices on your network and (optionally) add them to you ssh config in a cleanish way. Tested locally with MacOS and runs with Actions on Ubuntu. Works by stringing together a couple `nmap` commands and updating the ssh config file. ```shell # find open port 22 nmap -sT -p 22 -T5 <network> # check ssh auth methods nmap -p 22 --script ssh-auth-methods <target> ``` Setup ===== 1. Install [nmap](https://nmap.org) ```shell # MacOS brew install nmap # Debian sudo apt-get install nmap ``` 2. Install the script (defaults to `$HOME/bin` but can be overridden with first arg) ```shell ./install.sh $HOME/bin ``` 3. Run the program ```shell find-sshable --help ``` Python Package ============== ```shell pip install find-sshable ``` Testing ======= ```shell # pip install pytest PYTHONPATH=. pytest -vs . ``` Headless Raspberry Pi ====================== The idea is to stand up a headless raspberry pi that you can ssh into and do things on. If you will run this on Wifi (not ethernet), start from [here](https://www.raspberrypi.org/documentation/configuration/wireless/headless.md) to configure the WiFi on your raspberry pi. However, if you can connect to ethernet, I would recommend doing so, and you can skip this step. As per [here](https://www.raspberrypi.org/documentation/remote-access/ssh/README.md) add an empty `ssh` file to the root partition when you frist boot up. Locally run the following. This will find and add your Pi to the local ssh config. ```bash find-sshable --host-pattern "raspberrypi" --update-ssh-config --ssh-user "pi" ``` scanning for devices... 00:07 Found 1 devices... Host(name='raspberrypi.lan', ip=IPv4Address('192.168.86.36')) Devices will be added to your ssh config as follows find-sshable.raspberrypi.lan 192.168.86.36 ssh into it, ```bash ssh find-sshable.raspberrypi.lan ``` On there, you should [**change your password**, update locale, etc](https://www.raspberrypi.org/documentation/configuration/raspi-config.md) ```bash sudo raspi-config ``` Also ensure that ssh runs on start up ```bash sudo systemctl enable ssh sudo systemctl start ssh ```


نیازمندی

مقدار نام
- python3-nmap
- tqdm-thread


نحوه نصب


نصب پکیج whl find-sshable-0.2.3:

    pip install find-sshable-0.2.3.whl


نصب پکیج tar.gz find-sshable-0.2.3:

    pip install find-sshable-0.2.3.tar.gz