This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |