This file contains hidden or 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
import paramiko | |
import socket | |
import os | |
from stat import S_ISDIR | |
class SSHSession(object): | |
# Usage: | |
# Detects DSA or RSA from key_file, either as a string filename or a | |
# file object. Password auth is possible, but I will judge you for | |
# using it. So: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.