Skip to content

Commit 7ec92b1

Browse files
committed
typos
1 parent 4acc515 commit 7ec92b1

File tree

2 files changed

+28
-16
lines changed

2 files changed

+28
-16
lines changed

articles/virtual-machines/linux/serial-console.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The virtual machine serial console on Azure provides access to a text-based cons
3737

3838

3939
## Open the serial console
40-
serial console for virtual machines is only accessible via [Azure portal](https://portal.azure.com). Below are the steps to access serial console for virtual machines via portal
40+
Serial console for virtual machines is only accessible via [Azure portal](https://portal.azure.com). Below are the steps to access serial console for virtual machines via portal
4141

4242
1. Open the Azure portal
4343
2. In the left menu, select virtual machines.
@@ -50,7 +50,7 @@ serial console for virtual machines is only accessible via [Azure portal](https:
5050
> [!NOTE]
5151
> Serial console requires a local user with a password configured. At this time, VMs only configured with SSH public key will not have access to the serial console. To create a local user with password, follow [VM Access Extension](https://docs.microsoft.com/azure/virtual-machines/linux/using-vmaccess-extension) and create local user with password.
5252
53-
## Disabling the serial console
53+
## Disable Serial Console
5454
By default, all subscriptions have serial console access enabled for all VMs. You may disable serial console at either the subscription level or VM level.
5555

5656
### Subscription-level disable
@@ -60,22 +60,28 @@ Serial Console can be disabled for an entire subscription by through the [Disabl
6060

6161
Alternatively, you may use the set of commands below in Cloud Shell (bash commands shown) to disable, enable, and view the disbled status of serial console for a subscription.
6262

63-
* To get the disabled status of a subscription:
64-
```bash
63+
* To get the disabled status of serial console for a subscription:
64+
```
6565
$ export ACCESSTOKEN=($(az account get-access-token --output=json | jq .accessToken | tr -d '"'))
66+
6667
$ export SUBSCRIPTION_ID=$(az account show --output=json | jq .id -r)
68+
6769
$ curl "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/providers/Microsoft.SerialConsole/consoleServices/default?api-version=2018-05-01" -H "Authorization: Bearer $ACCESSTOKEN" -H "Content-Type: application/json" -H "Accept: application/json" -s | jq .properties
6870
```
6971
* To disable serial console for a subscription:
70-
```bash
72+
```
7173
$ export ACCESSTOKEN=($(az account get-access-token --output=json | jq .accessToken | tr -d '"'))
74+
7275
$ export SUBSCRIPTION_ID=$(az account show --output=json | jq .id -r)
76+
7377
$ curl -X POST "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/providers/Microsoft.SerialConsole/consoleServices/default/disableConsole?api-version=2018-05-01" -H "Authorization: Bearer $ACCESSTOKEN" -H "Content-Type: application/json" -H "Accept: application/json" -s -H "Content-Length: 0"
7478
```
7579
* To enable serial console for a subscription:
76-
```bash
80+
```
7781
$ export ACCESSTOKEN=($(az account get-access-token --output=json | jq .accessToken | tr -d '"'))
82+
7883
$ export SUBSCRIPTION_ID=$(az account show --output=json | jq .id -r)
84+
7985
$ curl -X POST "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/providers/Microsoft.SerialConsole/consoleServices/default/enableConsole?api-version=2018-05-01" -H "Authorization: Bearer $ACCESSTOKEN" -H "Content-Type: application/json" -H "Accept: application/json" -s -H "Content-Length: 0"
8086
```
8187
@@ -115,7 +121,7 @@ SSH/RDP configuration issues | Access serial console and change settings. | Linu
115121
Network lock down system| Access serial console via portal to manage system. | Linux/Windows
116122
Interacting with bootloader | Access GRUB/BCD via the serial console. Go to [Using Serial Console to access GRUB and Single User Mode](serial-console-grub-single-user-mode.md) to get started. | Linux/Windows
117123
118-
## Accessing Serial Console for Linux
124+
## Access Serial Console for Linux
119125
In order for serial console to function properly, the guest operating system must be configured to read and write console messages to the serial port. Most [Endorsed Azure Linux Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros) have the serial console configured by default. Simply clicking the Serial Console section in the Azure portal will provide access to the console.
120126
121127
Distro | Serial Console access

articles/virtual-machines/windows/serial-console.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The virtual machine serial console on Azure provides access to a text-based cons
3535
* The account using the serial console must have [Contributor role](../../role-based-access-control/built-in-roles.md) for VM and the [boot diagnostics](boot-diagnostics.md) storage account.
3636

3737
## Open the serial console
38-
serial console for virtual machines is only accessible via [Azure portal](https://portal.azure.com). Below are the steps to access the serial console for virtual machines via portal
38+
Serial console for virtual machines is only accessible via [Azure portal](https://portal.azure.com). Below are the steps to access the serial console for virtual machines via portal
3939

4040
1. Open the Azure portal
4141
2. In the left menu, select virtual machines.
@@ -44,7 +44,7 @@ serial console for virtual machines is only accessible via [Azure portal](https:
4444

4545
![](../media/virtual-machines-serial-console/virtual-machine-windows-serial-console-connect.gif)
4646

47-
## Disabling the serial console
47+
## Disable Serial Console
4848
By default, all subscriptions have serial console access enabled for all VMs. You may disable serial console at either the subscription level or VM level.
4949

5050
### Subscription-level disable
@@ -54,22 +54,28 @@ Serial Console can be disabled for an entire subscription by through the [Disabl
5454

5555
Alternatively, you may use the set of commands below in Cloud Shell (bash commands shown) to disable, enable, and view the disbled status of serial console for a subscription.
5656

57-
* To get the disabled status of a subscription:
58-
```bash
57+
* To get the disabled status of serial console for a subscription:
58+
```
5959
$ export ACCESSTOKEN=($(az account get-access-token --output=json | jq .accessToken | tr -d '"'))
60+
6061
$ export SUBSCRIPTION_ID=$(az account show --output=json | jq .id -r)
62+
6163
$ curl "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/providers/Microsoft.SerialConsole/consoleServices/default?api-version=2018-05-01" -H "Authorization: Bearer $ACCESSTOKEN" -H "Content-Type: application/json" -H "Accept: application/json" -s | jq .properties
6264
```
6365
* To disable serial console for a subscription:
64-
```bash
66+
```
6567
$ export ACCESSTOKEN=($(az account get-access-token --output=json | jq .accessToken | tr -d '"'))
68+
6669
$ export SUBSCRIPTION_ID=$(az account show --output=json | jq .id -r)
70+
6771
$ curl -X POST "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/providers/Microsoft.SerialConsole/consoleServices/default/disableConsole?api-version=2018-05-01" -H "Authorization: Bearer $ACCESSTOKEN" -H "Content-Type: application/json" -H "Accept: application/json" -s -H "Content-Length: 0"
6872
```
6973
* To enable serial console for a subscription:
70-
```bash
74+
```
7175
$ export ACCESSTOKEN=($(az account get-access-token --output=json | jq .accessToken | tr -d '"'))
76+
7277
$ export SUBSCRIPTION_ID=$(az account show --output=json | jq .id -r)
78+
7379
$ curl -X POST "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/providers/Microsoft.SerialConsole/consoleServices/default/enableConsole?api-version=2018-05-01" -H "Authorization: Bearer $ACCESSTOKEN" -H "Content-Type: application/json" -H "Accept: application/json" -s -H "Content-Length: 0"
7480
```
7581
@@ -97,7 +103,7 @@ If a user is connected to serial console and another user successfully requests
97103
This means that the user who gets disconnected will not be logged out! The ability to enforce a logout upon disconnect (via SIGHUP or similar mechanism) is still in the roadmap. For Windows, there is an automatic timeout enabled in SAC, however for Linux you can configure terminal timeout setting.
98104
99105
100-
## Accessing serial console for Windows
106+
## Access Serial Console for Windows
101107
Newer Windows Server images on Azure will have [Special Administrative Console](https://technet.microsoft.com/library/cc787940(v=ws.10).aspx) (SAC) enabled by default. SAC is supported on server versions of Windows but is not available on client versions (for example, Windows 10, Windows 8, or Windows 7).
102108
To enable Serial console for Windows virtual machines created with using Feb2018 or lower images please use the following steps:
103109
@@ -177,6 +183,6 @@ A. Provide feedback as an issue by going to https://aka.ms/serialconsolefeedback
177183
A. This preview feature is covered via Azure Preview Terms. Support for this is best handled via channels mentioned above.
178184
179185
## Next steps
180-
* For an in-deth guide to CMD and PowerShell commands you can use in the Windows SAC, click [here](serial-console-cmd-ps-commands.md).
181-
* The serial console is also available for [Linux](../linux/serial-console.md) VMs.
186+
* For an in-depth guide to CMD and PowerShell commands you can use in the Windows SAC, click [here](serial-console-cmd-ps-commands.md).
187+
* The Serial Console is also available for [Linux](../linux/serial-console.md) VMs.
182188
* Learn more about [boot diagnostics](boot-diagnostics.md).

0 commit comments

Comments
 (0)