you do wanna make me cry and i wanna say goodbye
This commit is contained in:
@@ -1439,7 +1439,7 @@ def delete_all_nodes():
|
|||||||
|
|
||||||
def ssh():
|
def ssh():
|
||||||
node = choose_from_list(list_all_nodes(), "node")
|
node = choose_from_list(list_all_nodes(), "node")
|
||||||
ip = node.public_ip
|
ip = node.public_ips[0]
|
||||||
port = 22
|
port = 22
|
||||||
username = "secdep"
|
username = "secdep"
|
||||||
sshkey = SECDEP_SSH_PRIVATE_KEY
|
sshkey = SECDEP_SSH_PRIVATE_KEY
|
||||||
@@ -1457,8 +1457,8 @@ def ssh():
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
break
|
break
|
||||||
ssh.close()
|
ssh.close()
|
||||||
except Exception as err:
|
except Exception as ex:
|
||||||
print(str(err))
|
print(str(ex))
|
||||||
|
|
||||||
# If -I -S or -G is passed, provider must be passed as well
|
# If -I -S or -G is passed, provider must be passed as well
|
||||||
if args.listimages or args.listsizes or args.listlocations:
|
if args.listimages or args.listsizes or args.listlocations:
|
||||||
|
|||||||
Reference in New Issue
Block a user