Xin hỗ trợ kết nối với slurm.uit.edu.vn

Kính gửi Phòng Dữ liệu & Công nghệ Thông tin - Trường Đại học Công nghệ Thông tin (UIT),
Hôm nay em connect tới server slurm.uit.edu.vn (đã connect OpenVPN thành công), thì khi nhập xong password em gặp lỗi “Failed to set up dynamic port forwarding connection over SSH to the VS Code Server”, em đã thử rất nhiều cách trên StackOverFlow và Github cũng như downgrade extension Remote-SSH, khởi động lại máy, v.v nhưng đều không fix được ạ. Dưới đây là log em gặp phải khi connect:
[19:06:41.497] Log Level: 2
[19:06:41.538] VS Code version: 1.122.0-insider
[19:06:41.538] Remote-SSH version: remote-ssh@0.123.0
[19:06:41.538] win32 x64
[19:06:41.565] SSH Resolver called for “ssh-remote+slurm.uit.edu.vn”, attempt 1
[19:06:41.576] remote.SSH.useLocalServer = false
[19:06:41.577] remote.SSH.useExecServer = true
[19:06:41.577] remote.SSH.bindHost = {}
[19:06:41.577] remote.SSH.showLoginTerminal = true
[19:06:41.578] remote.SSH.remotePlatform = {“slurm.uit.edu.vn”:“linux”,“192.168.20.156”:“linux”,“171.247.149.72”:“linux”,“50.217.254.174”:“linux”,“50.173.192.52”:“linux”,“213.224.31.105”:“linux”,“70.69.213.236”:“linux”,“43.100.46.13”:“linux”,“115.231.176.132”:“linux”,“47.19.39.146”:“linux”,“199.68.217.31”:“linux”,“171.226.155.213”:“linux”,“8.210.145.168”:“linux”,“199.126.134.31”:“linux”,“171.226.153.104”:“linux”,“172.219.157.164”:“linux”,“217.171.200.22”:“linux”,“217.138.104.108”:“linux”,“62.107.25.198”:“linux”,“58.224.7.136”:“linux”,“49.0.90.52”:“linux”,“31.13.237.164”:“linux”,“198.53.64.194”:“linux”,“175.155.64.228”:“linux”,“24.124.32.70”:“linux”,“175.155.64.172”:“linux”,“107.206.71.138”:“linux”,“175.155.64.174”:“linux”,“181.22.150.80”:“linux”,“97.70.195.221”:“linux”,“74.48.78.46”:“linux”,“220.82.46.3”:“linux”,“38.117.87.50”:“linux”,“176.162.188.11”:“linux”,“74.48.140.178”:“linux”,“120.238.149.205”:“linux”,“83.10.112.226”:“linux”,“171.248.243.88”:“linux”,“116.127.115.18”:“linux”,“158.51.110.52”:“linux”,“79.112.55.229”:“linux”,“108.255.76.60”:“linux”,“45.77.214.165”:“linux”,“116.109.102.220”:“linux”,“87.205.21.33”:“linux”,“175.121.93.64”:“linux”,“14.90.78.104”:“linux”,“50.92.230.202”:“linux”,“94.190.219.147”:“linux”,“79.112.1.66”:“linux”,“104.189.178.117”:“linux”,“70.68.84.2”:“linux”,“223.166.244.241”:“linux”,“90.224.159.6”:“linux”,“58.224.7.137”:“linux”,“171.248.245.1”:“linux”,“45.81.32.55”:“linux”,“162.218.220.42”:“linux”,“195.142.145.66”:“linux”,“81.166.173.12”:“linux”,“47.184.161.176”:“linux”,“116.127.115.27”:“linux”,“188.90.155.225”:“linux”,“154.12.38.116”:“linux”,“109.72.59.164”:“linux”,“91.203.49.76”:“linux”,“38.79.155.162”:“linux”,“109.231.106.68”:“linux”,“1.34.114.64”:“linux”,“116.102.207.146”:“linux”,“118.163.92.198”:“linux”,“eyecodegpus.ddns.net”:“linux”,“100.84.66.13”:“linux”,“202.79.96.144”:“linux”,“89.221.67.155”:“linux”,“104.188.118.187”:“linux”,“116.120.230.125”:“linux”,“58.123.93.216”:“linux”,“212.85.84.41”:“linux”,“79.112.17.186”:“linux”,“103.177.249.208”:“linux”,“108.55.118.247”:“linux”,“205.206.75.12”:“linux”,“106.184.52.86”:“linux”,“47.186.29.91”:“linux”,“77.33.143.182”:“linux”,“192.165.134.28”:“linux”,“202.214.223.66”:“linux”,“89.221.67.147”:“linux”,“37.142.193.243”:“linux”,“180.189.55.38”:“linux”,“171.226.34.64”:“linux”,“69.143.221.78”:“linux”,“182.224.239.168”:“linux”,“91.108.80.253”:“linux”,“50.173.192.54”:“linux”,“41.138.66.130”:“linux”,“142.127.90.36”:“linux”,“169.224.200.71”:“linux”,“175.155.64.226”:“linux”}
[19:06:41.578] remote.SSH.path =
[19:06:41.578] remote.SSH.configFile =
[19:06:41.578] remote.SSH.useFlock = true
[19:06:41.579] remote.SSH.lockfilesInTmp = false
[19:06:41.579] remote.SSH.localServerDownload = auto
[19:06:41.579] remote.SSH.remoteServerListenOnSocket = false
[19:06:41.579] remote.SSH.defaultExtensions =
[19:06:41.580] remote.SSH.defaultExtensionsIfInstalledLocally =
[19:06:41.580] remote.SSH.loglevel = 2
[19:06:41.580] remote.SSH.enableDynamicForwarding = true
[19:06:41.580] remote.SSH.enableRemoteCommand = false
[19:06:41.581] remote.SSH.serverPickPortsFromRange = {}
[19:06:41.581] remote.SSH.serverInstallPath = {}
[19:06:41.581] remote.SSH.permitPtyAllocation = false
[19:06:41.581] remote.SSH.preferredLocalPortRange = undefined
[19:06:41.582] remote.SSH.useCurlAndWgetConfigurationFiles = false
[19:06:41.582] remote.SSH.experimental.chat = true
[19:06:41.582] remote.SSH.experimental.enhancedSessionLogs = true
[19:06:41.582] remote.SSH.httpProxy = {“”:“”}
[19:06:41.583] remote.SSH.httpsProxy = {“
”:“”}
[19:06:41.617] SSH Resolver called for host: slurm.uit.edu.vn
[19:06:41.617] Setting up SSH remote “slurm.uit.edu.vn”
[19:06:41.685] Using commit id “859cf8dc73cc68c65bc2c6c66022f50da8e353d1” and quality “insider” for server
[19:06:41.685] Extensions to install:
[19:06:41.694] Install and start server if needed
[19:06:41.697] Checking ssh with “C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\ssh.exe -V”
[19:06:41.703] Got error from ssh: spawn C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\ssh.exe ENOENT
[19:06:41.703] Checking ssh with “C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\libnvvp\ssh.exe -V”
[19:06:41.704] Got error from ssh: spawn C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\libnvvp\ssh.exe ENOENT
[19:06:41.705] Checking ssh with “E:\anaconda\envs\main_aic2024_cpu\python.exe\ssh.exe -V”
[19:06:41.705] Got error from ssh: spawn E:\anaconda\envs\main_aic2024_cpu\python.exe\ssh.exe ENOENT
[19:06:41.705] Checking ssh with “E:\anaconda\envs\main_aic2024_cpu\Scripts\ssh.exe -V”
[19:06:41.707] Got error from ssh: spawn E:\anaconda\envs\main_aic2024_cpu\Scripts\ssh.exe ENOENT
[19:06:41.707] Checking ssh with “C:\Git\bin\git.exe\ssh.exe -V”
[19:06:41.708] Got error from ssh: spawn C:\Git\bin\git.exe\ssh.exe ENOENT
[19:06:41.708] Checking ssh with “C:\Git\bin\ssh.exe -V”
[19:06:41.709] Got error from ssh: spawn C:\Git\bin\ssh.exe ENOENT
[19:06:41.709] Checking ssh with “C:\Program Files\Eclipse Adoptium\jre-21.0.6.7-hotspot\bin\ssh.exe -V”
[19:06:41.712] Got error from ssh: spawn C:\Program Files\Eclipse Adoptium\jre-21.0.6.7-hotspot\bin\ssh.exe ENOENT
[19:06:41.712] Checking ssh with “C:\Windows\system32\ssh.exe -V”
[19:06:41.713] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[19:06:41.713] Checking ssh with “C:\Windows\ssh.exe -V”
[19:06:41.714] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[19:06:41.714] Checking ssh with “C:\Windows\System32\Wbem\ssh.exe -V”
[19:06:41.721] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[19:06:41.721] Checking ssh with “C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V”
[19:06:41.722] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[19:06:41.722] Checking ssh with “C:\Windows\System32\OpenSSH\ssh.exe -V”
[19:06:41.798] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[19:06:41.804] Running script with connection command: “C:\Windows\System32\OpenSSH\ssh.exe” -T -D 55266 “slurm.uit.edu.vn” sh
[19:06:41.829] Generated SSH command: ‘type “C:\Users\LENGUY~1\AppData\Local\Temp\vscode-linux-multi-line-command-slurm.uit.edu.vn-395492531.sh” | “C:\Windows\System32\OpenSSH\ssh.exe” -T -D 55266 “slurm.uit.edu.vn” sh’
[19:06:41.829] Using connect timeout of 17 seconds
[19:06:41.831] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[19:06:42.883] >
[19:06:42.884] Got some output, clearing connection timeout
[19:06:42.902] >
[19:06:43.243] > cndt_hangdv@slurm.uit.edu.vn’s password:
[19:06:49.454] >
[19:06:50.033] > db466888ef92: running

Script executing under PID: 3873431
Installing to /home/cndt_hangdv/.vscode-server-insiders…
db466888ef92%%1%%
Downloading with wget
wget is from busybox: no
Program ‘wget’ appears to support flag ‘–no-config’
[19:06:57.182] > Download complete
db466888ef92%%2%%
tar --version: tar (GNU tar) 1.35
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
[19:06:57.490] > code-insiders 1.122.0 (commit 859cf8dc73cc68c65bc2c6c66022f50da8e353d1)
Starting VS Code CLI…
Spawned remote CLI: 3873473
[19:06:57.497] > Waiting for server log…
[19:06:57.540] > Waiting for server log…
[19:06:57.573] > db466888ef92: start
listeningOn==127.0.0.1:34519==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1015==
platform==linux==
unpackResult==success==
didLocalDownload==0==
downloadTime==7161==
installTime==298==
serverStartTime==73==
execServerToken==1aaaa111-1aa1-1a1a-aaaa-111a1aa1a111==
platformDownloadPath==cli-alpine-x64==
SSH_AUTH_SOCK====
DISPLAY====
db466888ef92: end
[19:06:57.574] Received install output:
listeningOn==127.0.0.1:34519==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1015==
platform==linux==
unpackResult==success==
didLocalDownload==0==
downloadTime==7161==
installTime==298==
serverStartTime==73==
execServerToken==1aaaa111-1aa1-1a1a-aaaa-111a1aa1a111==
platformDownloadPath==cli-alpine-x64==
SSH_AUTH_SOCK====
DISPLAY====

[19:06:57.574] Remote server is listening on port 34519
[19:06:57.574] Parsed server configuration: {“serverConfiguration”:{“remoteListeningOn”:{“port”:34519},“osReleaseId”:“ubuntu”,“arch”:“x86_64”,“sshAuthSock”:“”,“display”:“”,“tmpDir”:“/run/user/1015”,“platform”:“linux”,“execServerToken”:“1aaaa111-1aa1-1a1a-aaaa-111a1aa1a111”},“downloadTime”:7161,“installTime”:298,“serverStartTime”:73,“installUnpackCode”:“success”}
[19:06:57.578] Starting forwarding server. local port 52171 → socksPort 55266 → remotePort 34519
[19:06:57.579] Forwarding server listening on port 52171
[19:06:57.579] Waiting for ssh tunnel to be ready
[19:06:57.580] [Forwarding server port 52171] Got connection 0
[19:06:57.582] Tunneled port 34519 to local port 52171
[19:06:57.582] Resolved “ssh-remote+slurm.uit.edu.vn” to “port 52171”
[19:06:57.588] Initizing new exec server for ssh-remote+slurm.uit.edu.vn
[19:06:57.588] Resolving exec server at port 52171
[19:06:57.591] [Forwarding server port 52171] Got connection 1
[19:06:57.606] Failed to set up socket for dynamic port forward to remote port 34519: Socket closed. TCP port forwarding may be disabled, or the remote server may have crashed. See the VS Code Server log above for details.
[19:06:57.606] Failed to set up socket for dynamic port forward to remote port 34519: Socket closed. TCP port forwarding may be disabled, or the remote server may have crashed. See the VS Code Server log above for details.
[19:06:57.634] > channel 3: open failed: administratively prohibited: open failed

channel 4: open failed: administratively prohibited: open failed
[19:06:57.634] ERROR: TCP port forwarding appears to be disabled on the remote host. Ensure that the sshd_config has AllowTcpForwarding yes. Contact your system administrator if needed.

Hi vọng được Phòng hỗ trợ ạ. Em xin chân thành cảm ơn.

Hiện tại thì trường không cho kết nối slurm sử dụng VSCode á anh. Anh sử dụng WinSCP để kết nối nha.

Bạn có thông tin k bạn, cho mình xin thông tin đó với. Mình cũng k connect ssh bằng VS được