Connect to Sepal host with VSCode Remote SSH on Windows 11/WSL2

83 views
Skip to first unread message

Timothée Stassin

unread,
Sep 22, 2023, 3:16:21 AM9/22/23
to Sepal Users
Hi,

I have a Windows 11 computer with a Windows Subsystem for Linux (WSL2). I use VS Code as code editor, and would like to connect to Sepal using the convenient Remote SSH extension. Here is the content of my C:/Users/timot/.ssh/config file. I get a prompt asking for my password and then it tries to connect indefinitely. I can access Sepal through ssh (e.g. for scp file transfer) without issue.

Has anyone faced a similar issue ?
Thank you,

Best,
Tim

  HostName ssh.sepal.io
  User tstassin
  Port 443

Timothée Stassin

unread,
Sep 22, 2023, 3:33:45 AM9/22/23
to Sepal Users
Changing the following settings in VS Code:
"remote.SSH.showLoginTerminal": true,
"remote.SSH.useLocalServer": false


I now get the following output in my VSCode terminal:

my_us...@ssh.sepal.io's password:
3e4ae4af7b40: running
Acquiring lock on /home/sepal-user/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/vscode-remote-lock.sepal-user.abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
Found existing installation at /home/sepal-user/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d...
Checking /home/sepal-user/.vscode-server/.abd2f3db4bdb28f9e95536dfa84d8479f1eb312d.log and /home/sepal-user/.vscode-server/.abd2f3db4bdb28f9e95536dfa84d8479f1eb312d.pid for a running server
Looking for server with pid: 16914
Found running server...

*
* Visual Studio Code Server
*
* By using the software, you agree to
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
*

Checking server status on port 37779 with wget
3e4ae4af7b40: start
SSH_AUTH_SOCK====
DISPLAY====
webUiAccessToken====
listeningOn==37779==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/tmp==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==averylongtoken==
3e4ae4af7b40: end
channel 3: open failed: connect failed: Connection refused
channel 3: open failed: connect failed: Connection refused


Does this make any sense to anyone ? Thanks !

Cheers,
Tim
Reply all
Reply to author
Forward
0 new messages