Skip to content
Snippets Groups Projects
Commit cc1e1261 authored by Alessio Igor Bogani's avatar Alessio Igor Bogani
Browse files

Add a print statement

parent 4c68438c
No related branches found
No related tags found
No related merge requests found
......@@ -268,6 +268,7 @@ def install(username, reponame, tag, destinations, itype):
try:
with paramiko.SSHClient() as sshClient:
sshClient.set_missing_host_key_policy(paramiko.AutoAddPolicy())
print("Connect to " + server.name + "...")
sshClient.connect(hostname=server.name, port=22, username="root",
key_filename="/home/inau/.ssh/id_rsa.pub")
with sshClient.open_sftp() as sftpClient:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment