Set-VBRLinuxTrustedHostPolicy - Veeam Backup PowerShell Reference
Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Set-VBRLinuxTrustedHostPolicy

Short Description

Sets the trust policy for Linux hosts.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Requires an Agent 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 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

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Backup Explorers User Guide

Backup and Restore of SQL Server Databases

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation