Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmCfg_SetSyncSshIdsEnabled Function
PHT_VM_CONFIGURATION

Enables or disables synchronization set of public SSH keys from host with the respective set in SSH's authorised_keys file in guest.

Syntax
PRL_RESULT PrlVmCfg_SetSyncSshIdsEnabled(
    PRL_HANDLE hVmCfg, 
    PRL_BOOL bEnabled
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
bEnabled
Setting boolean value.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

Only Linux guests are supported at the moment.

Links
© 2021 Parallels International GmbH. All rights reserved.