mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-12 15:40:11 +00:00
definitely fixed key permissions
This commit is contained in:
parent
6b4b6b522f
commit
dfe55b94ff
@ -110,7 +110,7 @@ export class SSHService {
|
|||||||
'ssh-keygen.exe',
|
'ssh-keygen.exe',
|
||||||
)
|
)
|
||||||
await execFile('icacls', [temp.path, '/inheritance:r'])
|
await execFile('icacls', [temp.path, '/inheritance:r'])
|
||||||
await execFile('icacls', [temp.path, '/grant:r', `${process.env.USERNAME}:(R)`])
|
await execFile('icacls', [temp.path, '/grant:r', `${process.env.USERNAME}:(R,W)`])
|
||||||
}
|
}
|
||||||
|
|
||||||
await execFile(sshKeygenPath, [
|
await execFile(sshKeygenPath, [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user