title | ms.custom | ms.date | ms.reviewer | ms.suite | ms.technology | ms.tgt_pltfrm | ms.topic | ms.assetid | author | ms.author | manager | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Connect to Your Remote Linux Computer | Microsoft Docs |
11/16/2016 |
|
article |
5eeaa683-4e63-4c46-99ef-2d5f294040d4 |
corob-msft |
corob |
ghogen |
When building, Linux code is copied to your remote Linux computer and then compiled on that system according to the settings chosen in Visual Studio. To setup this remote connection:
-
Build the project for the first time or manually create a new entry by selecting Tools > Options and then open the Cross Platform > Connection Manager node and click the Add button.
In either scenario, the Connect to Remote System window will be displayed.
-
Enter the following information:
Entry Description Host Name Name or IP address of your target device Port Port that the SSH service is running on, typically 22 User name User to authenticate as Authentication type Password or Private Key are both supported Password Password for the entered user name Private key file Private key created for ssh connection Passphrase Passphrase used with private key selected above -
Click the Connect button to attempt a connection to the remote computer. If the connection fails, the entry boxes which need to be changed will be outlined in red.