mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge branch '2014.7' into develop
This commit is contained in:
commit
e5fadf15e9
@ -109,7 +109,7 @@ class Shell(object):
|
|||||||
|
|
||||||
if self.passwd:
|
if self.passwd:
|
||||||
options.extend(['PasswordAuthentication=yes',
|
options.extend(['PasswordAuthentication=yes',
|
||||||
'PubkeyAuthentication=no'])
|
'PubkeyAuthentication=yes'])
|
||||||
else:
|
else:
|
||||||
options.extend(['PasswordAuthentication=no',
|
options.extend(['PasswordAuthentication=no',
|
||||||
'PubkeyAuthentication=yes',
|
'PubkeyAuthentication=yes',
|
||||||
|
Loading…
Reference in New Issue
Block a user