Skip to content

Commit 4dc9aa6

Browse files
authored
Merge pull request #3489 from esweet431/esweet431-patch-1
Host key verification
2 parents 498cb64 + 9f83c4d commit 4dc9aa6

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,17 @@ If ssh isn't already set up and running on your Linux system, follow these steps
9797
::: moniker-end
9898

9999
::: moniker range="msvc-160"
100+
101+
## Host key verification
102+
103+
In Visual Studio version 16.10 or later, you will be asked to verify the host key fingerprint presented by the server when Visual Studio connects to a remote system for the first time. You may be familiar with this if you’ve used the OpenSSH command-line client or PuTTY before. The fingerprint identifies the server and is used to ensure that Visual Studio is connecting to the intended and trusted server.
104+
105+
You will be asked to accept or deny the host key fingerprint presented by the server the first time a new remote connection is established, or anytime that a cached fingerprint has changed. You can also verify a fingerprint on demand by selecting a connection in the Connection Manager and clicking "Verify."
106+
107+
If you are upgrading to Visual Studio 16.10 from an older version of Visual Studio, then all existing remote connections will be treated as a new connection. You will be prompted to accept the host key fingerprint before a connection is established and the accepted fingerprint will be cached.
108+
109+
You can also update remote connections from ConnectionManager.exe using the `update` argument.
110+
100111

101112
## Supported SSH algorithms
102113

docs/linux/connectionmanager-reference.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ The functionality of ConnectionManager.exe is also available in Visual Studio. T
6161
- **`version`**
6262

6363
Displays version information.
64+
65+
- **`update`** \[*default* \| *all* \| *connection_id* \| *user\@host* \[**`--port`** *port*]] \[**`--previous`**] [**`--fingerprint`**]
66+
67+
Added in Visual Studio 16.10. Updates the host key fingerprint of the specified connection(s).
6468

6569
### Options
6670

@@ -95,6 +99,14 @@ The functionality of ConnectionManager.exe is also available in Visual Studio. T
9599
- **`-i`**
96100

97101
Same as **`--privatekey`**.
102+
103+
- **`--previous`**
104+
105+
Indicates that the connection(s) will be read from the previous version of connection manager, updated, and written to the new version.
106+
107+
- **`--fingerprint`**
108+
109+
The host key fingerprint presented by the server. Use this option with **`list`** to view a connection's fingerprint.
98110

99111
## Examples
100112

@@ -120,4 +132,4 @@ ConnectionManager.exe modify 21212121 --property shell=csh
120132

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

123-
::: moniker-end
135+
::: moniker-end

0 commit comments

Comments
 (0)