Fix wording, add PreferredAuth block

This commit is contained in:
Matej Kramny 2015-01-30 23:15:07 +00:00
parent 093c41483a
commit f5ad1a2e35
2 changed files with 6 additions and 5 deletions

View File

@ -97,9 +97,10 @@ function installHostKeys (task, playbook, done) {
},
function (done) {
var config = "Host *\n\
StrictHostKeyChecking no\n\
CheckHostIp no\n\
PasswordAuthentication no\n";
StrictHostKeyChecking no\n\
CheckHostIp no\n\
PasswordAuthentication no\n\
PreferredAuthentications publickey\n";
fs.writeFile('/root/.ssh/config', config, {
mode: 420 // 0644
@ -224,7 +225,7 @@ function playbookOutputHandler (chunk) {
if (!this.output) {
this.output = "";
}
this.output += chunk;
app.io.emit('playbook.output', {
task_id: this._id,

View File

@ -32,4 +32,4 @@ h1 Add Playbook
span(ng-if="!playbook.data._id") Add
span(ng-if="playbook.data._id.length > 0") Edit
.col-md-6
p.lead It is recommended you use create an identity before creating palybooks.
p.lead It is recommended you create an identity before creating playbooks.