Skip to content

Instantly share code, notes, and snippets.

@ohumeagle
ohumeagle / isshtool.sh
Last active September 22, 2019 08:21
by iSSHtool bash script, Network Engineers can connect to network devices simply and save credentials in Linux Os.
#!/bin/bash
# Name: SSH Client for Network Engineers
# Author: Saman Jalilian
# Mail: ohumeagle@gmail.com
# introduction: This simple script helps you to connect to your network devices with SSH and let you save your passwords as an enrypted file.
# - the session log will be generated day by day in the root directory which scrip runs.
# Usage: put your device information and credentials in root directory file with .conf extention (you can have multiple file) in below format and then encrypt it
# With gpg tool, so the final encrypted extension should be like this *.conf.pgp
# use this command to encrypt your file: gpg --yes --batch --passphrase=123 -c testfile.conf
# Format: