mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
Fix wording, add PreferredAuth block
This commit is contained in:
parent
093c41483a
commit
f5ad1a2e35
@ -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,
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user