Set-VBRLinuxTrustedHostPolicy

Short Description

Sets the trust policy for Linux hosts.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Set-VBRLinuxTrustedHostPolicy -Type <VBRLinuxTrustedHostPolicyType> {All | KnownHosts} [-PassThru]  [<CommonParameters>]

Detailed Description

This cmdlet sets the trust policy for Linux hosts. The policy determines which protected computers running Linux OS are allowed to connect to the backup server. Veeam Backup & Replication recognizes a host as trusted if this host has connected to the Veeam backup server before. Veeam Backup & Replication remembers trusted hosts and keeps them in a database. You can add trusted hosts to the database manually by importing hosts SSH fingerprints from a file.

Note

To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameters values with new values. The parameters that you omit will remain unchanged.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Type

Specifies the trust policy type. You can set the trust policy one of the following types:

  • All: Use this option if you want to allow all newly discovered Linux hosts to connect to the backup server.
  • KnownHosts: Use this option if you want to allow all only trusted Linux hosts to connect to the backup server.

VBRLinuxTrustedHostPolicyType

True

Named

True (ByValue,
ByProperty
Name)

PassThru

Defines that the command returns the output object to the Windows PowerShell console.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRLinuxTrustedHostPolicy

Examples

Setting up Connections with Trusted Linux Hosts

This command instructs Veeam Backup & Replication to establish connections only with trusted Linux hosts.

PS C:\Users\Administrator> Set-VBRLinuxTrustedHostPolicy -Type KnownHosts -PassThru

                                                                                                Type

                                                                                                ----

                                                                                          KnownHosts