From b935f630e9c35885890bd73086319ab08d6c9b87 Mon Sep 17 00:00:00 2001 From: konsthol Date: Thu, 16 Mar 2023 21:34:24 +0200 Subject: [PATCH] you do wanna make me cry and i wanna say goodbye --- secdep.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/secdep.py b/secdep.py index 02e09e4..8dd2bdb 100755 --- a/secdep.py +++ b/secdep.py @@ -1439,7 +1439,7 @@ def delete_all_nodes(): def ssh(): node = choose_from_list(list_all_nodes(), "node") - ip = node.public_ip + ip = node.public_ips[0] port = 22 username = "secdep" sshkey = SECDEP_SSH_PRIVATE_KEY @@ -1457,8 +1457,8 @@ def ssh(): except KeyboardInterrupt: break ssh.close() - except Exception as err: - print(str(err)) + except Exception as ex: + print(str(ex)) # If -I -S or -G is passed, provider must be passed as well if args.listimages or args.listsizes or args.listlocations: