|
1 | 1 | ---
|
2 | 2 | title: How to access a compute instance terminal in your workspace
|
3 | 3 | titleSuffix: Azure Machine Learning
|
4 |
| -description: Use the terminal on a compute instance for Git operations, to install packages, and add kernels. |
| 4 | +description: Learn how to use the terminal on a compute instance for Git operations, to install packages, and add kernels. |
5 | 5 | services: machine-learning
|
6 | 6 | author: sdgilley
|
7 | 7 | ms.author: sgilley
|
8 | 8 | ms.reviewer: kritifaujdar
|
9 | 9 | ms.service: azure-machine-learning
|
10 | 10 | ms.subservice: compute
|
11 | 11 | ms.topic: how-to
|
12 |
| -ms.date: 01/10/2024 |
| 12 | +ms.date: 09/20/2024 |
13 | 13 | #Customer intent: As a data scientist, I want to use Git, install packages and add kernels to a compute instance in my workspace in Azure Machine Learning studio.
|
14 | 14 | ---
|
15 | 15 |
|
@@ -42,14 +42,17 @@ To access the terminal:
|
42 | 42 |
|
43 | 43 | In addition to the previous steps, you can also access the terminal from:
|
44 | 44 |
|
| 45 | +* In VS Code: Select the **Terminal > New Terminal** from the menu. The entry may be hidden behind **...** in menu. To learn more about connecting to your workspace from VS Code, see [Work in VS Code remotely connected to a compute instance](how-to-work-in-vs-code-remote.md). |
45 | 46 | * 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.
|
46 | 47 | * Jupyter Lab: Select the **Terminal** tile under the **Other** heading in the Launcher tab.
|
47 | 48 | * Jupyter: Select **New>Terminal** on top right in the Files tab.
|
48 | 49 | * 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.
|
49 | 50 |
|
50 |
| -## Copy and paste in the terminal |
| 51 | +## Copy and paste in the terminal |
51 | 52 |
|
52 |
| -> * Windows: `Ctrl-Insert` to copy and use `Ctrl-Shift-v` or `Shift-Insert` to paste. |
| 53 | +In the **Notebooks** section, you can copy and paste text between the terminal and the notebook cells. |
| 54 | + |
| 55 | +> * Windows: `Ctrl-c` to copy and use `Ctrl-v` or `Ctrl-Shift-v` or `Shift-Insert` to paste. |
53 | 56 | > * Mac OS: `Cmd-c` to copy and `Cmd-v` to paste.
|
54 | 57 | > * FireFox and Internet Explorer may not support clipboard permissions properly.
|
55 | 58 |
|
@@ -144,7 +147,7 @@ For more information about conda, see [Using R language with Anaconda](https://d
|
144 | 147 | > [!WARNING]
|
145 | 148 | > While customizing the compute instance, make sure you do not delete conda environments or jupyter kernels that you didn't create.
|
146 | 149 |
|
147 |
| -To remove an added Jupyter kernel from the compute instance, you must remove the kernelspec, and (optionally) the conda environment. You can also choose to keep the conda environment. You must remove the kernelspec, or your kernel is still selectable and cause unexpected behavior. |
| 150 | +To remove an added Jupyter kernel from the compute instance, you must remove the kernelspec, and (optionally) the conda environment. You can also choose to keep the conda environment. You must remove the kernelspec, or your kernel is still selectable and could cause unexpected behavior. |
148 | 151 |
|
149 | 152 | To remove the kernelspec:
|
150 | 153 |
|
@@ -186,3 +189,9 @@ Learn more about how to manage sessions running on your compute at [Managing not
|
186 | 189 |
|
187 | 190 | > [!WARNING]
|
188 | 191 | > Make sure you close any sessions you no longer need to preserve your compute instance's resources and optimize your performance.
|
| 192 | +
|
| 193 | +## Related content |
| 194 | +
|
| 195 | +* [Managing notebook and terminal sessions](how-to-manage-compute-sessions.md) |
| 196 | +* [Git integration for Azure Machine Learning](concept-train-model-git-integration.md) |
| 197 | +* [Work in VS Code remotely connected to a compute instance](how-to-work-in-vs-code-remote.md) |
0 commit comments