You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/bastion/bastion-connect-vm-ssh.md
+14-3Lines changed: 14 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: cherylmc
6
6
7
7
ms.service: bastion
8
8
ms.topic: conceptual
9
-
ms.date: 10/15/2019
9
+
ms.date: 02/03/2020
10
10
ms.author: cherylmc
11
11
# Customer intent: As someone with a networking background, I want to connect to an Azure virtual machine running Linux that doesn't have a public IP address by using Azure Bastion.
12
12
@@ -25,14 +25,25 @@ The SSH private key must be in a format that begins with `"-----BEGIN RSA PRIVA
25
25
26
26
## Before you begin
27
27
28
-
Make sure that you have set up an Azure Bastion host for the virtual network in which the VM resides. For more information, see [Create an Azure Bastion host](bastion-create-host-portal.md). Once the Bastion service is provisioned and deployed in your virtual network, you can use it to connect to any VM in this virtual network. When you use Bastion to connect, it assumes that you are using RDP to connect to a Windows VM, and SSH to connect to your Linux VMs.
28
+
Make sure that you have set up an Azure Bastion host for the virtual network in which the VM resides. For more information, see [Create an Azure Bastion host](bastion-create-host-portal.md). Once the Bastion service is provisioned and deployed in your virtual network, you can use it to connect to any VM in this virtual network.
29
+
30
+
When you use Bastion to connect, it assumes that you are using RDP to connect to a Windows VM, and SSH to connect to your Linux VMs. For information about connecting to a Windows VM, see [Connect to a VM - Windows](bastion-connect-vm-rdp.md).
31
+
32
+
### Required roles
29
33
30
34
In order to make a connection, the following roles are required:
31
35
32
36
* Reader role on the virtual machine
33
37
* Reader role on the NIC with private IP of the virtual machine
34
38
* Reader role on the Azure Bastion resource
35
39
40
+
### Ports
41
+
42
+
In order to connect to the Linux VM via SSH, you must have the following ports open on your VM:
43
+
44
+
* Inbound port: SSH (22)
45
+
46
+
36
47
## <aname="username"></a>Connect: Using username and password
37
48
38
49
1. Open the [Azure portal](https://portal.azure.com). Navigate to the virtual machine that you want to connect to, then click **Connect**. The VM should be a Linux virtual machine when using an SSH connection.
@@ -67,4 +78,4 @@ In order to make a connection, the following roles are required:
0 commit comments