Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
shinohara-rin committed May 3, 2024
1 parent 419c1b8 commit 5055419
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31016,6 +31016,8 @@ function ensure_host_ssh_key() {
);
}
}
// properly set private key permissions
fs.chmodSync(privkey, 0o600);
return pubkey;
};

Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ function ensure_host_ssh_key() {
);
}
}
// properly set private key permissions
fs.chmodSync(privkey, 0o600);
return pubkey;
};

Expand Down

0 comments on commit 5055419

Please sign in to comment.