This is an archive version of the document. To get the most up-to-date information, see the current version.

Set-VBRLinuxTrustedHostPolicy

Short Description

Sets the trust policy for Linux hosts.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus

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 Veeam backup server. You can set the trust policy of the following types:

  • All: with this policy, the connection is allowed for all newly discovered Linux hosts.
  • KnownHosts: with this policy, the connection is allowed only for trusted Linux hosts.

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 database. You can add trusted hosts to the database manually by importing hosts' SSH fingerprints from a file.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Type

Specifies the trust policy type:

  • All: all newly discovered Linux hosts are allowed to connect to the Veeam backup server.
  • KnownHosts: only trusted Linux hosts are allowed to connect to the Veeam backup server.

The cmdlet will set the trust policy of the specified type.

True

Named

True (ByValue,
ByProperty
Name)

False

PassThru

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

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRLinuxTrustedHostPolicy

Example

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