fix(ssh): make SSH client authentication more short-lived
This commit is contained in:
@@ -46,7 +46,7 @@ in
|
|||||||
)
|
)
|
||||||
// {
|
// {
|
||||||
"*" = {
|
"*" = {
|
||||||
AddKeysToAgent = "yes";
|
AddKeysToAgent = "1h";
|
||||||
ForwardAgent = false;
|
ForwardAgent = false;
|
||||||
identityFile = [
|
identityFile = [
|
||||||
"~/.ssh/id_ed25519_sk"
|
"~/.ssh/id_ed25519_sk"
|
||||||
@@ -55,7 +55,7 @@ in
|
|||||||
IdentitiesOnly = true;
|
IdentitiesOnly = true;
|
||||||
ControlMaster = "auto";
|
ControlMaster = "auto";
|
||||||
ControlPath = "~/.ssh/control/%C";
|
ControlPath = "~/.ssh/control/%C";
|
||||||
ControlPersist = "10m";
|
ControlPersist = "10s";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user