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
Issue Tracker: https://github.com/jinjamator/netmiko_balabit/issues
Source Code: https://github.com/jinjamator/netmiko_balabit
License
This project is licensed under the Apache License Version 2.0
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file netmiko_balabit-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: netmiko_balabit-0.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fe59f1d66bb0b7df07a36c606c0c2be0af8a81c5337836a8de381da1e187a0d |
|
MD5 | 590ecc653f9c77ced1de5f03ba1ec05c |
|
BLAKE2b-256 | bf4d50404fb7a8146782ebaf3425d9019db0287940af704fc4fa9b45c7b473ce |