mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Apply fix to ssh init file that was there before merge
This commit is contained in:
parent
7e1f7915e4
commit
02670969d0
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ class SSH(object):
|
|||
if target.get('passwd', False) or self.opts['ssh_passwd']:
|
||||
self._key_deploy_run(host, target, False)
|
||||
return ret
|
||||
if ret[host].get('stderr', '').count('Permission denied'):
|
||||
if (ret[host].get('stderr') or '').count('Permission denied'):
|
||||
target = self.targets[host]
|
||||
# permission denied, attempt to auto deploy ssh key
|
||||
print(('Permission denied for host {0}, do you want to deploy '
|
||||
|
|
Loading…
Add table
Reference in a new issue