Skip to main content

Python implementation of SSH No Ports daemon

Project description

The Atsign FoundationThe Atsign Foundation

GitHub License

SSHNPD Python

SSH No Ports provides a way to ssh to a remote linux host/device without that device or the client having any open ports (not even 22) on external interfaces. All network connectivity is outbound and there is no need to know the IP address the device has been given. As long as the device and client has an IP address (public or private 1918), DNS and Internet access, you will be able to connect to it.

This version is SSHNP Daemon written in Python, it is still in its beta stage of developement.

Prerequisites

SSHNPD Python requires the following:

  • 2 atsigns, one for the client and one for the device
  • any machine with sshd running and python3 installed
  • atsdk installed

Installation

This package can be installed from PyPI with:

pip install sshnpd

Alternatively clone this repo and from the repo root:

cd packages/python/sshnpd
pip install -r requirements.txt
pip install .

Running the program

sshnpd -m @{clientAtsign} -a @{deviceAtsign} -d {deviceName}

No Ports SDK Python (experimental)

There is a simple python SDK which allows you to create scripts for common administrative patterns via SSH No Ports.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sshnpd-0.4.7.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

sshnpd-0.4.7-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page