Initial commit
This commit is contained in:
13
deploy.py
Normal file
13
deploy.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import paramiko
|
||||
import json
|
||||
import os
|
||||
|
||||
# import modules
|
||||
|
||||
with open("conf.json", "r") as file:
|
||||
cfg = json.load(file)
|
||||
# yeah yeah i should probably use YAML but i don't really want to fool with it rn lol -64
|
||||
|
||||
sshc = paramiko.client.SSHClient()
|
||||
|
||||
sshc.connect(cfg["server"],port=cfg["port"],password=cfg["ssh-password"])
|
Reference in New Issue
Block a user