Skip to content

Repo sync for protected CLA branch #2522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Oct 9, 2020
Merged
64 changes: 41 additions & 23 deletions docs/linux/connectionmanager-reference.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "ConnectionManager reference"
ms.date: "01/17/2020"
description: "How to manage your remote SSH connections from a command-line tool."
ms.date: "10/7/2020"
f1_keywords: ["ConnectionManager"]
helpviewer_keywords: ["ConnectionManager program"]
---
Expand All @@ -22,67 +23,78 @@ The functionality of ConnectionManager.exe is also available in Visual Studio. T

## Syntax

> **ConnectionManager.exe** *command* \[*arguments*] \[*options*]
> **`ConnectionManager.exe`** *command* \[*arguments*] \[*options*]

### Commands and arguments

- **add** *user\@host* \[**--port** *port*] \[**--password** *password*] \[**--privatekey** *privatekey_file*]
- **`add`** *user\@host* \[**`--port`** *port*] \[**`--password`** *password*] \[**`--privatekey`** *privatekey_file*]

Authenticates and adds a new connection. By default, it uses port 22 and password authentication. (You'll be prompted to enter a password.) Use both **--password** and **--privatekey** to specify a password for a private key.
Authenticates and adds a new connection. By default, it uses port 22 and password authentication. (You'll be prompted to enter a password.) Use both **-`-password`** and **`--privatekey`** to specify a password for a private key.

- **remove** \[*connection_id* \| *user\@host* \[**--port** *port*]]
- **`remove`** \[*connection_id* \| *user\@host* \[**`--port`** *port*]]

Removes a connection. If no arguments are specified, you're prompted to specify which connection to remove.

- **`modify`** \[*default* \| *connection_id* \| *user\@host* \[**`--port`** *port*]] \[**`--property`** *key=value*]

- **remove-all**
Defines or modifies a property on a connection.\
If *value* is empty, then the property *key* is deleted.\
If authentication fails, no changes will be made.\
If no connection is specified (what is meant by *default*, above), the user's default remote connection is used.

- **`remove-all`**

Removes all stored connections.

- **`clean`**

Deletes header cache for connections that no longer exist.

- **list**
- **`list`** \[**`--properties`**]

Displays information and IDs of all stored connections.
Displays information, IDs, and properties of all stored connections.

- **help**
- **`help`**

Displays a help screen.

- **version**
- **`version`**

Displays version information.

### Options

- **-q**, **--quiet**
- **`-q`**, **`--quiet`**

Prevents output to `stdout` or `stderr`.

- **--no-prompt**
- **`--no-prompt`**

Fail instead of prompt, when appropriate.

- **--no-verify**
- **`--no-verify`**

Add or modify a connection without authentication.

- **--file** *filename*
- **`--file`** *filename*

Read connection information from the provided *filename*.

- **--no-telemetry**
- **`--no-telemetry`**

Disable sending usage data back to Microsoft. Usage data is collected and sent back to Microsoft unless the **--no-telemetry** flag is passed.
Disable sending usage data back to Microsoft. Usage data is collected and sent back to Microsoft unless the **`--no-telemetry`** flag is passed.

- **-n**, **--dry-run**
- **`-n`**, **`--dry-run`**

Does a dry run of the command.

- **`--p`**

- **-p**
Same as **`--password`**.

Same as **--password**.
- **`-i`**

- **-i**

Same as **--privatekey**.
Same as **`--privatekey`**.

## Examples

Expand All @@ -98,8 +110,14 @@ This command removes the connection that has ID 1975957870 from the list of conn
ConnectionManager.exe remove 1975957870
```

This command overrides the choice of shell for the connection with connection ID 21212121. Supported shells are: **`sh, csh, bash, tcsh, ksh, zsh, dash`**. If the shell found on the Linux system isn't supported, then we fall back to explicitly use **`sh`** for all commands.

```cmd
ConnectionManager.exe modify 21212121 --property shell=csh
```

## See also

[Connect to your target Linux system in Visual Studio](connect-to-your-remote-linux-computer.md)

::: moniker-end
::: moniker-end
6 changes: 4 additions & 2 deletions docs/linux/linux-asan-configuration.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Configure Linux projects to use Address Sanitizer"
description: "Describes how to configure C++ Linux projects in Visual Studio to use Address Sanitizer."
ms.date: "09/25/2020"
ms.date: "10/7/2020"
---
# Configure Linux projects to use Address Sanitizer

Expand Down Expand Up @@ -33,7 +33,7 @@ To enable ASan for MSBuild-based Linux projects, right-click on the project in *

![Enable ASan for an MSBuild project](media/msbuild-asan-prop-page.png)

You can pass optional ASan runtime flags by navigating to **Configuration Properties** > **Debugging** > **AddressSanitizer Runtime Flags**. Click the down arrow to add or remove flags.
You can pass optional ASan runtime flags by navigating to **Configuration Properties** > **Debugging** > **AddressSanitizer Runtime Flags**. Click the down-arrow to add or remove flags.

![Configure ASan runtime flags](media/msbuild-asan-runtime-flags.png)

Expand Down Expand Up @@ -79,4 +79,6 @@ You can install the ASan debug bits on Linux distros that use apt with the follo
sudo apt-get install libasan4-dbg
```

Full instructions for installing debug symbol packages on Ubuntu can be found at [Debug symbol packages](https://wiki.ubuntu.com/Debug%20Symbol%20Packages).

If ASan is enabled, Visual Studio prompts you at the top of the **Debug** pane of the **Output** window to install the ASan debug symbols.