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
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:
| VBRLinuxTrustedHostPolicyType | True | Named | True (ByValue, |
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
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 |