Set-VBRLinuxFileRestoreHelperHost
Short Description
Modifies temporary Linux helper host specifications.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AddCredentials (Default)Set-VBRLinuxFileRestoreHelperHost -HelperHost <VBRLinuxFileRestoreHelperHost> -SSHUser <String>
-SSHPassword <String> [-SSHPort <Int32>] [-SSHElevateToRoot] [-SSHAddToSudoers] [-SSHFailoverToSu]
[-SSHRootPassword <String>] [-SSHFingerprint <String>] [-Force] [<CommonParameters>]
-
CredentialsSet-VBRLinuxFileRestoreHelperHost -HelperHost <VBRLinuxFileRestoreHelperHost> [-Credentials <CCredentials>]
[-SSHFingerprint <String>] [-Force] [<CommonParameters>]
Detailed Description
This cmdlet modifies temporary Linux helper host specifications.
Note that the cmdlet creates a copy of the HelperHost you provide in a command. To use the new helper host, you must assign it to a variable.
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 |
|---|---|---|---|---|---|
|
Credentials |
Specifies the credentials you want to use for authenticating with the Linux server.
Accepts the |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will modify temporary Linux helper host specification without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
HelperHost |
Specifies the temporary Linux helper host.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
SSHAddToSudoers |
Defines that the user account is added to sudoers file.
Default: |
|
False |
Named |
False |
|
SSHElevateToRoot |
Defines that non-root users are provided with the root account privileges.
Default: |
|
False |
Named |
False |
|
SSHFailoverToSu |
Defines that Veeam Backup & Replication will use the su command if the sudo command fails.
Default: |
|
False |
Named |
False |
|
SSHFingerprint |
Specifies the SSH host fingerprint. |
|
False |
Named |
False |
|
SSHPassword |
Specifies the password you want to use for authenticating with the Linux server. |
|
True |
Named |
False |
|
SSHPort |
Specifies the SSH port for connection to the Linux server. Default: 22. |
|
False |
Named |
False |
|
SSHRootPassword |
Specifies the root password used for authentication. |
|
False |
Named |
False |
|
SSHUser |
Specifies the user name you want to use for authenticating with the Linux server. |
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRLinuxFileRestoreHelperHost object that contains settings for a temporary Linux helper host specifications.
Examples
Example 1. Modifying Connectivity Options Using Existing Credentials
|
This example shows how to modify the connectivity options using the credentials that already exist in Veeam Backup & Replication.
Perform the following steps:
|
Example 2. Modifying Connectivity Options by Specifying SSH Options
|
This example shows how to modify the connectivity options by specifying each SSH option separately.
Perform the following steps:
Save the result to the |
Related Commands
Get-VBRCredentialsReturns credentials records.New-VBRLinuxFileRestoreHelperHostCreates temporary Linux helper host used to launch the Guest OS File Restore.