Skip to content

Commit b8a9ea0

Browse files
committed
updates for ssh command and managed vnets
1 parent 8903a9b commit b8a9ea0

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

articles/machine-learning/how-to-access-terminal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ In addition to the steps above, you can also access the terminal from:
4545
* RStudio or Posit Workbench (formerly RStudio Workbench) (See [Add custom applications such as RStudio or Posit Workbench)](how-to-create-compute-instance.md?tabs=python#add-custom-applications-such-as-rstudio-or-posit-workbench)): Select the **Terminal** tab on top left.
4646
* Jupyter Lab: Select the **Terminal** tile under the **Other** heading in the Launcher tab.
4747
* Jupyter: Select **New>Terminal** on top right in the Files tab.
48-
* SSH to the machine, if you enabled SSH access when the compute instance was created.
48+
* SSH to the machine, if you enabled SSH access when the compute instance was created. If the compute instance is in a managed virtual network and doesn't have a public IP address, use the `az ml compute connect-ssh` command to connect to the compute instance.
4949

5050
## Copy and paste in the terminal
5151

articles/machine-learning/how-to-manage-compute-instance.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ For each compute instance in a workspace that you created (or that was created f
145145
146146
* Access Jupyter, JupyterLab, RStudio on the compute instance.
147147
* SSH into compute instance. SSH access is disabled by default but can be enabled at compute instance creation time. SSH access is through public/private key mechanism. The tab gives you details for SSH connection such as IP address, username, and port number. In a virtual network deployment, disabling SSH prevents SSH access from public internet. You can still SSH from within virtual network using private IP address of compute instance node and port 22.
148+
149+
> [!TIP]
150+
> If the compute instances is in a *managed* virtual network and the public IP address is disabled, use the `az ml compute connect-ssh` command to connect to the compute instance.
151+
148152
* Select the compute name to:
149153
* View details about a specific compute instance such as IP address, and region.
150154
* Create or modify the schedule for starting and stopping the compute instance. Scroll down to the bottom of the page to edit the schedule.

articles/machine-learning/how-to-managed-network-compute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ You can't create a compute cluster or compute instance from the Azure portal. In
158158
## Limitations
159159

160160
* Creating a compute cluster in a different region than the workspace isn't supported when using a managed virtual network.
161+
* If the compute is in a managed network and also configured for no public IP, use the `az ml compute connect-ssh` command to connect to the compute instance over SSH.
161162

162163
### Migration of compute resources
163164

articles/machine-learning/how-to-managed-network.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ The Azure Machine Learning managed VNet feature is free. However, you're charged
11031103
* Creating a compute cluster in a different region than the workspace isn't supported when using a managed VNet.
11041104
* Kubernetes and attached VMs aren't supported in an Azure Machine Learning managed VNet.
11051105
* Using FQDN outbound rules increases the cost of the managed VNet because FQDN rules use Azure Firewall. For more information, see [Pricing](#pricing).
1106-
* If your compute instance is in a managed network and is also configured for no public IP, use the `az ml compute connect-ssh` command to connect to it using SSH.
1106+
* If your compute instance is in a managed network and is configured for no public IP, use the `az ml compute connect-ssh` command to connect to it using SSH.
11071107

11081108
### Migration of compute resources
11091109

0 commit comments

Comments
 (0)