no way its fucking working and coming together!!

This commit is contained in:
Technomancer 2023-12-26 14:28:27 -06:00
parent 3738830bd7
commit 9f5175bd1b
No known key found for this signature in database
GPG Key ID: 33A12B0480AFC8E9

View File

@ -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"])
sshc.connect(cfg["server"],port=cfg["port"],password=cfg["ssh-password"])
sshc.exec_command("wall it works!!!")