SshSettingKeyPair.Path Property
Gets or sets the full path of a file where the SSH private key is stored.
Namespace: Microsoft.WindowsAzure.Management.Compute.Models
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Usage
'Usage
Dim instance As SshSettingKeyPair
Dim value As String
value = instance.Path
instance.Path = value
Syntax
'Declaration
Public Property Path As String
public string Path { get; set; }
public:
property String^ Path {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_Path ()
/** @property */
public void set_Path (String value)
public function get Path () : String
public function set Path (value : String)
Property Value
The file path.
Remarks
The file is overwritten when multiple keys are written to it. The SSH public key is stored in the same directory and has the same name as the private key file with .pub suffix. Example: /home/user/.ssh/id_rsa.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
SshSettingKeyPair Class
SshSettingKeyPair Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace