Skip to content

Commit 0388366

Browse files
author
Matthew Fisher
committed
fix ssh_username not being read in 'deis ssh'
1 parent a8dae9f commit 0388366

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/deis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ def nodes_ssh(self, args):
14731473
with open(key_path, 'w') as f:
14741474
f.write(layer['ssh_private_key'])
14751475
ssh_args = ['-o UserKnownHostsFile=/dev/null', '-o StrictHostKeyChecking=no',
1476-
'-i', key_path, 'ubuntu@{fqdn}'.format(**node)]
1476+
'-i', key_path, '{}@{}'.format(layer['ssh_username'], node['fqdn'])]
14771477
command = args.get('<command>')
14781478
if command:
14791479
ssh_args.extend(command)

0 commit comments

Comments
 (0)