Click or drag to resize
ClientUserSshKeyImportFromFile Method
Imports an SSH public key to a user's certificate store from a file.

Namespace: MOVEit.DMZ.API
Assembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax
public bool UserSshKeyImportFromFile(
	string Username,
	string Filepath
)

Parameters

Username
Type: SystemString
Username of user to add key for.
Filepath
Type: SystemString
Local path of key file to import.

Return Value

Type: Boolean
true if successful; otherwise, false.
Remarks
The key file must contain only the public portion of the key.
See Also