Set-VBRLinuxTrustedHostPolicy

Short Description

Sets the trust policy for protected Linux and Microsoft Windows machines.

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 protected Linux and Microsoft Windows machines. The policy determines which protected machines 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 machine Linux SSH and deployer certificate fingerprints from a file.

Note

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

Parameters

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 servers added to the protection group and all VMs to connect to the backup server.
  • KnownHosts: Use this option if you want to allow all only trusted only trusted servers and VMs 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 Machines

This command instructs Veeam Backup & Replication to establish connections only with trusted servers and VMs.

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

Page updated 2/4/2026

Page content applies to build 13.0.1.1071