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
#!/usr/bin/env python | |
# -*-coding:utf-8 -*- | |
''' | |
@File : splitwise_personal_cost_analytics.py | |
@Time : 2023/03/09 13:08:34 | |
@Version : 1.0 | |
@Contact : sroy10@uh.edu | |
@Desc : Splitwise Class for analyzing and visualizing personal expenditure | |
''' |
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
import getpass | |
import paramiko | |
import time | |
def execute_command_ssh(olt_ip, username, password): | |
try: | |
# Create an SSH client instance | |
ssh_client = paramiko.SSHClient() | |
# Automatically add the server's host key |
OlderNewer