ComputeInstanceSshSettings Class
Credentials for an administrator user account to SSH into the compute node.
Can only be configured if ssh_public_access_enabled is set to true on compute resource.
- Inheritance
-
builtins.objectComputeInstanceSshSettings
Constructor
ComputeInstanceSshSettings(*, ssh_key_value: str | None = None, **kwargs: Any)
Parameters
Name | Description |
---|---|
ssh_key_value
Required
|
The SSH public key of the administrator user account. |
Keyword-Only Parameters
Name | Description |
---|---|
ssh_key_value
Required
|
|
Examples
Configuring ComputeInstanceSshSettings object.
from azure.ai.ml.entities import ComputeInstanceSshSettings
ssh_settings = ComputeInstanceSshSettings(
ssh_key_value="ssh-rsa ABCDEFGHIJKLMNOPQRSTUVWXYZ administrator@MININT-2023"
)
Attributes
admin_username
The name of the administrator user account which can be used to SSH into nodes.
Returns
Type | Description |
---|---|
The name of the administrator user account. |
ssh_port
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python