AmlComputeSshSettings Class
SSH settings to access a AML compute target.
- Inheritance
-
builtins.objectAmlComputeSshSettings
Constructor
AmlComputeSshSettings(*, admin_username: str, admin_password: str | None = None, ssh_key_value: str | None = None)
Parameters
Name | Description |
---|---|
admin_username
Required
|
SSH user name. |
admin_password
Required
|
SSH user password. Defaults to None. |
ssh_key_value
Required
|
The SSH RSA private key. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs. Defaults to None. |
Keyword-Only Parameters
Name | Description |
---|---|
admin_username
Required
|
|
admin_password
Required
|
|
ssh_key_value
Required
|
|
Examples
Configuring an AmlComputeSshSettings object.
from azure.ai.ml.entities import AmlComputeSshSettings
ssh_settings = AmlComputeSshSettings(
admin_username="azureuser",
ssh_key_value="ssh-rsa ABCDEFGHIJKLMNOPQRSTUVWXYZ administrator@MININT-2023",
admin_password="password123",
)
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python