From 9f5175bd1bd32900c7c332f8c3312015aeba0fce Mon Sep 17 00:00:00 2001 From: Sophie Axebane Date: Tue, 26 Dec 2023 14:28:27 -0600 Subject: [PATCH] no way its fucking working and coming together!! --- deploy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy.py b/deploy.py index 16d4301..cda664e 100644 --- a/deploy.py +++ b/deploy.py @@ -9,5 +9,7 @@ with open("conf.json", "r") as 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.set_missing_host_key_policy(paramiko.AutoAddPolicy()) # so we don't get whined at and crash over a unrecognized host-key -sshc.connect(cfg["server"],port=cfg["port"],password=cfg["ssh-password"]) \ No newline at end of file +sshc.connect(cfg["server"],port=cfg["port"],password=cfg["ssh-password"]) +sshc.exec_command("wall it works!!!") \ No newline at end of file