Skip to content

Commit 181d2f4

Browse files
author
mikeblome
committed
fixed yet more typos and moniker tags
1 parent e1fb32e commit 181d2f4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/linux/connect-to-your-remote-linux-computer.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Linux support is available in Visual Studio 2017 and later.
1515

1616
::: moniker range=">=vs-2017"
1717

18-
You can configure a Linux project to target a remote machine or to Windows Subsystem for Linux (WSL).
18+
You can configure a Linux project to target a remote machine or Windows Subsystem for Linux (WSL). For remote machines, and for WSL on Visual Studio 2017, you need to set up a connection.
1919

2020
## Connect to a remote Linux computer
2121

@@ -47,17 +47,17 @@ To set up this remote connection:
4747

4848
You can create a private RSA key file by following these steps:
4949

50-
1. On the Windows machine, create the ssh key pair with `ssh-keygen -t rsa`. This will create a public key and a private key. By default the keys are placed under `C:\Users\%USERNAME%\.ssh` with names `id_rsa.pub` and `id_rsa`."
50+
1. On the Windows machine, create the ssh key pair with `ssh-keygen -t rsa`. This will create a public key and a private key. By default the keys are placed under `C:\Users\%USERNAME%\.ssh` with names `id_rsa.pub` and `id_rsa`.
5151

52-
1. From Windows, copy the public key to the Linux machine: `scp -p C:\Users\%USERNAME%\.ssh\id_rsa.pub user@hostname`:
52+
1. From Windows, copy the public key to the Linux machine: `scp -p C:\Users\%USERNAME%\.ssh\id_rsa.pub user@hostname`.
5353

5454
1. On the Linux system, add the key to the list of authorized keys (and ensure the file has the correct permissions): `cat ~/id_rsa.pub >> ~/.ssh/authorized_keys; chmod 600 ~/.ssh/authorized_keys`
5555

5656
1. Click the **Connect** button to attempt a connection to the remote computer.
5757

5858
If the connection succeeds, Visual Studio will begin configuring IntelliSense to use the remote headers. For more information, see [IntelliSense for headers on remote systems](configure-a-linux-project.md#remote_intellisense).
5959

60-
If the connection fails, the entry boxes which need to be changed will be outlined in red.
60+
If the connection fails, the entry boxes that need to be changed are outlined in red.
6161

6262
![Connection Manager Error](media/settings_connectionmanagererror.png)
6363

@@ -71,10 +71,12 @@ To set up this remote connection:
7171

7272
![Remote Logging](media/remote-logging-vs2019.png)
7373

74-
Logs include connections, all commands sent to the remote machine (their text, exit code and execution time), and all writes from Visual Studio to the shell. Logging works for any cross-platform CMake project or MSBuild-based Linux project in Visual Studio.
74+
Logs include connections, all commands sent to the remote machine (their text, exit code and execution time), and all output from Visual Studio to the shell. Logging works for any cross-platform CMake project or MSBuild-based Linux project in Visual Studio.
7575

7676
You can configure the output to go to a file or to the **Cross Platform Logging** pane in the Output Window. For MSBuild-based Linux projects, commands issued to the remote machine by MSBuild are not routed to the **Output Window** because they are emitted out-of-process. Instead, they are logged to a file with the "msbuild_" prefix.
7777

78+
::: moniker-end
79+
7880
## Connect to WSL
7981

8082
::: moniker range="vs-2017"

0 commit comments

Comments
 (0)