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 the netmiko balabit driver 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.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for netmiko_balabit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 20f1df6522650510821f6d8749f2605dfe8f2f56e250f53cdc49cc2beadc42b4
MD5 624f1f2beceb872d6b9e375a58ad8614
BLAKE2b-256 e34993dd516cc0085e9c448b2e6e3d972ea48cce626c79025321b0f8a3460b2b

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