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 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