Skip to content

Instantly share code, notes, and snippets.

View shantoroy's full-sized avatar

Shanto Roy shantoroy

View GitHub Profile
#!/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
'''
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