
py -3 -m pip install paramiko -q py -3 -c import paramiko c paramiko.SSHClient() c.set_missing_host_key_policy(paramiko.AutoAddPolicy()) c.connect(11.1.1.1, usernameAI创造财富, passwordAI创造财富, timeout30) s c.open_sftp() s.put(rC:\Users\DeepSkaiWeb\index.html, /var/1i/index.html) s.close() c.close() print(上传成功! 打开 https://deepskai.cn/ 按 CtrlF5 强刷)