Skip to main content

Out of tree netmiko driver for balabit scb

Project description

netmiko_balabit is an out of tree netmiko driver for the balabit shell control box.

Installation

Install jinjamator by running:

pip3 install netmiko_balabit

Usage

from netmiko import ConnectHandler
import  netmiko_balabit

target = {
    'device_type': 'balabit_scb',
    'target_device_type': 'linux',
    'ip': ssh_host, # ip of balabit gateway
    'username': ssh_username, # gu=<balabit_username>@<target_username>@<target_ip>
    'password': [ssh_gw_password,ssh_password], # password list [<balabit_password>,<target_password>]
    'port': 22,
}

ssh = ConnectHandler(**target)
print(ssh.send_command("ls /"))

Contribute

License

This project is licensed under the Apache License Version 2.0

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

netmiko_balabit-0.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file netmiko_balabit-0.1-py3-none-any.whl.

File metadata

  • Download URL: netmiko_balabit-0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.28.0 setuptools/65.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for netmiko_balabit-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0414ad3a3f301e01456d834847a11b605c3296f93e5d2be2178e416e46f2fe62
MD5 d45dc5822e38fe61f3abe69bf1831b71
BLAKE2b-256 97210ad5091c64d215319bd241887318e0a467366be744e32ce1a0b752bf2c32

See more details on using hashes here.

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