diff --git a/options.xhtml b/options.xhtml index 78acd6926..cb83ba055 100644 --- a/options.xhtml +++ b/options.xhtml @@ -66462,68 +66462,21 @@ boolean

- programs.ssh.package + programs.ssh.enableDefaultConfig
-

The openssh package to use. By default, the client provided by your system is used.

- -

Type: -null or package

- -

Default: -null

- -

Declared by:

- - -
- -<home-manager/modules/programs/ssh.nix> - -
-
-
- - programs.ssh.addKeysToAgent - - -
-
-

When enabled, a private key that is used during authentication will be -added to ssh-agent if it is running (with confirmation enabled if -set to ‘confirm’). The argument must be ‘no’ (the default), ‘yes’, ‘confirm’ -(optionally followed by a time interval), ‘ask’ or a time interval (e.g. ‘1h’).

- -

Type: -string

- -

Default: -"no"

- -

Declared by:

- - -
- -<home-manager/modules/programs/ssh.nix> - -
-
-
- - programs.ssh.compression - - -
-
-

Specifies whether to use compression.

+

Whether to enable or not the old default config values. +This option will become deprecated in the future.

Type: boolean

Default: +true

+ +

Example: false

Declared by:

@@ -66537,69 +66490,18 @@ boolean

- programs.ssh.controlMaster + programs.ssh.package
-

Configure sharing of multiple sessions over a single network connection.

+

The openssh package to use. By default, the client provided by your system is used.

Type: -one of “yes”, “no”, “ask”, “auto”, “autoask”

+null or package

Default: -"no"

- -

Declared by:

- - -
- -<home-manager/modules/programs/ssh.nix> - -
-
-
- - programs.ssh.controlPath - - -
-
-

Specify path to the control socket used for connection sharing.

- -

Type: -string

- -

Default: -"~/.ssh/master-%r@%n:%p"

- -

Declared by:

- - -
- -<home-manager/modules/programs/ssh.nix> - -
-
-
- - programs.ssh.controlPersist - - -
-
-

Whether control socket should remain open in the background.

- -

Type: -string

- -

Default: -"no"

- -

Example: -"10m"

+null

Declared by:

@@ -66650,58 +66552,6 @@ attribute set of string

Default: { }

-

Declared by:

-
- -
- -<home-manager/modules/programs/ssh.nix> - -
-
-
- - programs.ssh.forwardAgent - - -
-
-

Whether the connection to the authentication agent (if any) -will be forwarded to the remote machine.

- -

Type: -boolean

- -

Default: -false

- -

Declared by:

- - -
- -<home-manager/modules/programs/ssh.nix> - -
-
-
- - programs.ssh.hashKnownHosts - - -
-
-

Indicates that -ssh(1) -should hash host names and addresses when they are added to -the known hosts file.

- -

Type: -boolean

- -

Default: -false

-

Declared by:

@@ -66770,6 +66620,33 @@ DAG of submodule

+

Declared by:

+ + +
+ +<home-manager/modules/programs/ssh.nix> + +
+ +
+ + programs.ssh.matchBlocks.<name>.addKeysToAgent + + +
+
+

When enabled, a private key that is used during authentication will be +added to ssh-agent if it is running (with confirmation enabled if +set to ‘confirm’). The argument must be ‘no’ (the default), ‘yes’, ‘confirm’ +(optionally followed by a time interval), ‘ask’ or a time interval (e.g. ‘1h’).

+ +

Type: +null or string

+ +

Default: +null

+

Declared by:

@@ -66868,6 +66745,81 @@ null or boolean

Default: null

+

Declared by:

+ + +
+ +<home-manager/modules/programs/ssh.nix> + +
+ +
+ + programs.ssh.matchBlocks.<name>.controlMaster + + +
+
+

Configure sharing of multiple sessions over a single network connection.

+ +

Type: +null or one of “yes”, “no”, “ask”, “auto”, “autoask”

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/ssh.nix> + +
+
+
+ + programs.ssh.matchBlocks.<name>.controlPath + + +
+
+

Specify path to the control socket used for connection sharing.

+ +

Type: +null or string

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/ssh.nix> + +
+
+
+ + programs.ssh.matchBlocks.<name>.controlPersist + + +
+
+

Whether control socket should remain open in the background.

+ +

Type: +null or string

+ +

Default: +null

+ +

Example: +"10m"

+

Declared by:

@@ -67050,6 +67002,33 @@ boolean

Default: false

+

Declared by:

+ + +
+ +<home-manager/modules/programs/ssh.nix> + +
+ +
+ + programs.ssh.matchBlocks.<name>.hashKnownHosts + + +
+
+

Indicates that +ssh(1) +should hash host names and addresses when they are added to +the known hosts file.

+ +

Type: +null or boolean

+ +

Default: +null

+

Declared by:

@@ -67621,10 +67600,10 @@ list of string

without SSH receiving any messages back from the server.

Type: -positive integer, meaning >0

+null or (positive integer, meaning >0)

Default: -3

+null

Declared by:

@@ -67645,10 +67624,10 @@ positive integer, meaning >0

Set timeout in seconds after which response will be requested.

Type: -signed integer

+null or signed integer

Default: -0

+null

Declared by:

@@ -67709,56 +67688,7 @@ null or string

- programs.ssh.serverAliveCountMax - - -
-
-

Sets the default number of server alive messages which may be -sent without SSH receiving any messages back from the server.

- -

Type: -positive integer, meaning >0

- -

Default: -3

- -

Declared by:

-
- -
- -<home-manager/modules/programs/ssh.nix> - -
- -
- - programs.ssh.serverAliveInterval - - -
-
-

Set default timeout in seconds after which response will be requested.

- -

Type: -signed integer

- -

Default: -0

- -

Declared by:

- - -
- -<home-manager/modules/programs/ssh.nix> - -
-
-
- - programs.ssh.userKnownHostsFile + programs.ssh.matchBlocks.<name>.userKnownHostsFile
@@ -67768,10 +67698,10 @@ database, separated by whitespace. The default is ~/.ssh/known_hosts.

Type: -string

+null or string

Default: -"~/.ssh/known_hosts"

+null

Declared by: