Merge pull request #8882 from mscherer/better_ssh_debug
Make ssh debug easier to read and paste
This commit is contained in:
commit
8019bc63de
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ class Connection(object):
|
||||||
sudocmd, prompt, success_key = utils.make_sudo_cmd(sudo_user, executable, cmd)
|
sudocmd, prompt, success_key = utils.make_sudo_cmd(sudo_user, executable, cmd)
|
||||||
ssh_cmd.append(sudocmd)
|
ssh_cmd.append(sudocmd)
|
||||||
|
|
||||||
vvv("EXEC %s" % ssh_cmd, host=self.host)
|
vvv("EXEC %s" % ' '.join(ssh_cmd), host=self.host)
|
||||||
|
|
||||||
not_in_host_file = self.not_in_host_file(self.host)
|
not_in_host_file = self.not_in_host_file(self.host)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue