> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gpuhub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# VSCode Remote Connection Failed

> Solving VSCode Remote Connection Issues

## Issue

If you encounter the following error in the VS Code output during remote connection, you can refer to the solution below.

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/faq-vscode-failed-1.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=7eb5e543bc5e097af73a582973337840" alt="" width="792" height="55" data-path="images/faq-vscode-failed-1.png" />

## Solution

1. Open Extensions Sidebar

Open the Extensions sidebar on the left, find the installed "Remote - SSH" extension, right-click on it, and select "Extension Settings".

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/faq-vscode-failed-2.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=7f9d62883e502c5370aad1d787b58b15" alt="" width="1291" height="770" data-path="images/faq-vscode-failed-2.png" />

2. Edit Config File

In the "Config File" section, enter the path of the config file mentioned in the error message.

<img src="https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/faq-vscode-failed-3.png?fit=max&auto=format&n=r1V0ko0l9sh4RwWM&q=85&s=cbfca024e677d2fc6c5ccc3b8130bbb5" alt="" width="1291" height="770" data-path="images/faq-vscode-failed-3.png" />

3. Retry Connection

Try reconnecting and observe whether the issue is resolved.
