Python SSH

Open-source Python projects categorized as SSH

Top 23 Python SSH Projects

  • BorgBackup

    Deduplicating archiver with compression and authenticated encryption.

    Project mention: Offsite data backups at a friend's house - do I just need rsync or is there something superior? | | 2023-05-28

    Borg Backup and rsync afterwards. Borg has a quite good deduplication (which u wasn't aware of) which reduces my backup size by factor 2. Since the dedup works across different backup times, you can easily backup and sync multiple month without a huge space increase.

  • xxh

    🚀 Bring your favorite shell wherever you go through the ssh. Xonsh shell, fish, zsh, osquery and so on.

    Project mention: profilerate - copy your dotfiles with you when connecting to remote systems via ssh, docker, and kubernetes | | 2023-03-09

    Cool, thanks! It would also be nice to list a few comparison points to xxh in the readme.

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • cowrie

    Cowrie SSH/Telnet Honeypot

    Project mention: Openssh username and password | | 2023-05-27
  • bless

    Repository for BLESS, an SSH Certificate Authority that runs as a AWS Lambda function

    Project mention: What are SSH Certificate Authority solutions? | | 2022-07-26

    In the quick search I learned about ssh cert authority which looks very manual and also like a dead project smallstep's step-ca who put together very nice article about how to begin certificate authority process Netflix' BLESS is AWS only Cashier which also looks quite ok

  • python-proxy

    HTTP/HTTP2/HTTP3/Socks4/Socks5/Shadowsocks/ShadowsocksR/SSH/Redirect/Pf TCP/UDP asynchronous tunnel proxy implemented in Python 3 asyncio.

    Project mention: [TASK] Help with Python programming (pproxy library) | | 2023-04-25

    Hi everyone,I am learning Python and have made who has made a somewhat functional piece of programming, but it doesn't fully work like I'd like it to, and I need some assistance in trying to understand the library I am using, and how I can change my programming to work better, and have the functions I'd like, or the potential to use another library that offers the same ability to run a local socks5 proxy that relays connection to a remote socks5, HTTP or HTTPS proxy.Library in question: pproxy (

  • fapro

    Fake Protocol Server

  • script-server

    Web UI for your scripts with execution management

    Project mention: Windmill: Open-source developer platform to turn scripts into workflows and UIs | | 2023-05-12

    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • parallel-ssh

    Asynchronous parallel SSH client library.

    Project mention: Python package install parallel-ssh for Windows 10 | | 2023-03-20
  • ssh-mitm

    ssh mitm server for security audits supporting public key authentication, session hijacking and file manipulation (by ssh-mitm)

    Project mention: Check if a publickey is known by GitHub or Gitlab without iterating all users | | 2023-02-24

    During some audits, it's likely that you find some ssh public keys laying around on some servers.

    If you want to verify if this key is known by other services, but you don't have access to those services, this task might be hard.

    SSH-MITM has an additional command, which allows to check if a public ssh key is known by GitHub, GitLab, and other code hosters. It's not limited to GitHub and other major platforms and even works with each service, which is accessible over SSH.

    First you must install SSH-MITM. It's recommended to use the AppImage, because this works out of the box on most Linux machines.

    $ wget

  • colab-ssh

    Connect to Google Colab using SSH

  • python_code_samples_network

    A collection of Python Code Samples for Network Management. Includes samples to run on-box and off-box.

    Project mention: Cisco CCNA (200-901 DEVASC): Cisco Networking Academy DevNet Associate Course Lab & Packet Tracer Video Tutorial Series | | 2023-03-11

    Cisco DevNet Programmability Code Examples:

  • trezor-agent

    Hardware-based SSH/PGP agent

    Project mention: agenix and ssh keys | | 2023-04-11

    GPG "master keys" are on the Trezor, which has no mass storage. You can read more how to use if for GPG in here: Trezor needs a PIN + passphrase typed on the device to be secure from physical attacks (Google: trezor hacked).

  • aws-gate

    Better AWS SSM Session manager CLI client

  • rsp

    Rapid SSH Proxy

  • bundlewrap

    Config management with Python

  • lobbyboy

    A lobby boy will create a VPS server when you need one, and destroy it after using it.

    Project mention: Lobbyboy: Create a VPS server when you run SSH | | 2022-09-10
  • ssh-ldap-pubkey

    Utility to manage SSH public keys stored in LDAP.

  • dheater

    D(HE)ater is a proof of concept implementation of the D(HE)at attack (CVE-2002-20001) through which denial-of-service can be performed by enforcing the Diffie-Hellman key exchange.

  • csshi

    ClusterSSH for iTerm2

    Project mention: What were the ancient tools used in late 90's early 00's ? | | 2023-02-20

    A lot of ClusterSSH (shameless plug for my iTerm version!) and 'expect' scripts.

  • PyFiSync

    Python (+ rsync or rclone) based intelligent file sync with automatic backups and file move/delete tracking.

    Project mention: RIRB - Reverse Incremental Rclone Backups | | 2022-12-20

    Apparently I love writing wrappers around rclone (syncrclone, lfsrclone, PyFiSync, amongst others).

  • findwall

    Check if your provider is blocking you!

    Project mention: findwall: Comprueba si tu proveedor te está bloqueando. ✅ | | 2022-06-01
  • sshch

    Ssh connection manager

    Project mention: Tool to manage 100+ Server connection details? | | 2022-11-18
  • lokey

    A tool that makes it easy to work with and convert between cryptographic key formats

  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-28.

Python SSH related posts


What are some of the best open-source SSH projects in Python? This list will help you:

Project Stars
1 BorgBackup 9,462
2 xxh 4,404
3 cowrie 4,279
4 bless 2,698
5 python-proxy 1,578
6 fapro 1,426
7 script-server 1,200
8 parallel-ssh 1,108
9 ssh-mitm 1,055
10 colab-ssh 837
11 python_code_samples_network 603
12 trezor-agent 537
13 aws-gate 417
14 rsp 274
15 bundlewrap 262
16 lobbyboy 233
17 ssh-ldap-pubkey 216
18 dheater 145
19 csshi 116
20 PyFiSync 104
21 findwall 101
22 sshch 94
23 lokey 90
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.