vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

[Remote-SSH Bug]: Stuck in "Setting up SSH Host neuron: Copying VS Code Server to host with scp"

Open yahyunee opened this issue 1 year ago • 6 comments
trafficstars

Is there an existing issue for this bug?

  • [X] I have searched the existing issues

Required Troubleshooting Steps

  • [X] I have followed these troubleshooting steps
  • [ ] I have tried both values of the remote.SSH.useLocalServer setting

Connect Locally

It connects successfully

->

I'm trying to connect to the remote server via remote-ssh extension. (0) I've written the info(Host, HostName, User) to config file (1) Tried to connect with the remote-ssh extension via clicking on the button next to the server name("neuron") 스크린샷 2024-08-17 오후 5 30 40

(2) I typed OTP and my password as required.

And it's stuck forever in the "Copying VS Code Server to host with scp" 스크린샷 2024-08-17 오후 5 26 35

Expected Behavior

No response

Steps To Reproduce

No response

Remote-SSH Log

Remote-SSH Log

[17:14:13.452] Log Level: 2
[17:14:13.455] SSH Resolver called for "ssh-remote+neuron", attempt 1
[17:14:13.455] "remote.SSH.useLocalServer": true
[17:14:13.455] "remote.SSH.useExecServer": true
[17:14:13.455] "remote.SSH.path": undefined
[17:14:13.455] "remote.SSH.configFile": undefined
[17:14:13.455] "remote.SSH.useFlock": true
[17:14:13.455] "remote.SSH.lockfilesInTmp": false
[17:14:13.456] "remote.SSH.localServerDownload": auto
[17:14:13.456] "remote.SSH.remoteServerListenOnSocket": false
[17:14:13.456] "remote.SSH.showLoginTerminal": false
[17:14:13.456] "remote.SSH.defaultExtensions": []
[17:14:13.456] "remote.SSH.loglevel": 2
[17:14:13.456] "remote.SSH.enableDynamicForwarding": true
[17:14:13.456] "remote.SSH.enableRemoteCommand": false
[17:14:13.456] "remote.SSH.serverPickPortsFromRange": {}
[17:14:13.456] "remote.SSH.serverInstallPath": {}
[17:14:13.456] "remote.SSH.permitPtyAllocation": false
[17:14:13.456] "remote.SSH.preferredLocalPortRange: undefined
[17:14:13.456] "remote.SSH.useCurlAndWgetConfigurationFiles: false
[17:14:13.460] VS Code version: 1.92.2
[17:14:13.460] Remote-SSH version: [email protected]
[17:14:13.460] darwin arm64
[17:14:13.461] SSH Resolver called for host: neuron
[17:14:13.461] Setting up SSH remote "neuron"
[17:14:13.462] Acquiring local install lock: /var/folders/***/****/T/vscode-remote-ssh-7f9405b6-install.lock
[17:14:13.465] Looking for existing server data file at /Users/****/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-7f9405b6-fee1edb8d6d72a0ddff41e5f71a671c23ed924b9-0.113.1-es/data.json
[17:14:13.465] Using commit id "fee1edb8d6d72a0ddff41e5f71a671c23ed924b9" and quality "stable" for server
[17:14:13.467] Install and start server if needed
[17:14:13.469] PATH: /usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
[17:14:13.469] Checking ssh with "ssh -V"
[17:14:13.474] > OpenSSH_9.7p1, LibreSSL 3.3.6

[17:14:13.475] askpass server listening on /var/folders/***/****/T/vscode-ssh-askpass-9efc3e92a4239e948422c1908dbdce2cb50246da.sock
[17:14:13.475] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/***/****/T/vscode-ssh-askpass-aa7920bc2288ff82d376158f6688c43428ff579a.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","54847","-o","ConnectTimeout=15","neuron"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/****/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-7f9405b6-fee1edb8d6d72a0ddff41e5f71a671c23ed924b9-0.113.1-es/data.json"}
[17:14:13.475] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.CvBHnvO2Wm/Listeners","SHELL":"/bin/zsh","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/****/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Users/****/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"","VSCODE_SSH_ASKPASS_MAIN":"/Users/****/.vscode/extensions/ms-vscode-remote.remote-ssh-0.113.1/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/_l/lzjqvgxn0f1c0mx3l_psd45r0000gp/T/vscode-ssh-askpass-9efc3e92a4239e948422c1908dbdce2cb50246da.sock"}
[17:14:13.476] Spawned 7107
[17:14:13.541] > local-server-1> Running ssh connection command: ssh -v -T -D 54847 -o ConnectTimeout=15 neuron
[17:14:13.542] > local-server-1> Spawned ssh, pid=7110
[17:14:13.545] stderr> OpenSSH_9.7p1, LibreSSL 3.3.6
[17:14:13.696] stderr> debug1: Server host key: ssh-ed25519 SHA256:2Nf/rBq3nRQ5yVfFngb6t8wC4EtjoR+6+fGPhUAoh0E
[17:14:13.914] Got askpass request: {"request":" (*******@neuron.ksc.re.kr) Password(OTP):"}
[17:14:13.915] Listening for interwindow password on /var/folders/_l/lzjqvgxn0f1c0mx3l_psd45r0000gp/T/vscode-ssh-askpass-0cbf17cd50822564a5f700a0277d3141dfb2e0c2.sock
[17:14:13.915] Writing password prompt to globalState
[17:14:30.363] Interactor gave response: ******
[17:14:30.363] Cleaning up other-window auth server
[17:14:30.503] Got askpass request: {"request":" (******@neuron.ksc.re.kr) Password:"}
[17:14:30.503] Showing password prompt
[17:14:30.503] Listening for interwindow password on /var/folders/_l/lzjqvgxn0f1c0mx3l_psd45r0000gp/T/vscode-ssh-askpass-87ebdc5f496d3a33e2813a9f72f7afea4421658d.sock
[17:14:30.503] Writing password prompt to globalState
[17:14:34.569] Got password response
[17:14:34.570] Interactor gave response: ************
[17:14:34.570] Cleaning up other-window auth server
[17:14:34.662] stderr> Authenticated to neuron.ksc.re.kr ([150.183.150.99]:22) using "keyboard-interactive".
[17:14:34.715] > Last failed login: Sat Aug 17 15:24:37 KST 2024 from 175.117.213.43 on ssh:notty
> There were 6 failed login attempts since the last successful login.
[17:14:37.180] > =================== Account Information ==================== 
>  * Account  :              ****** 
>  * Due Date :          2025/04/30 
>  * Allocated  SRU Time :        2,880,000 [sec] 
>   >     Used  SRU Time :          247,508 [sec] 
>  -----------------------------------------------------------
>  *  Available SRU Time :        2,632,492 [sec] [91.41%]
>   @ Available SKL_V100_2 Node Time = Available SRU Time x  8  
>   @ Available IVY_V100_2 Node Time = Available SRU Time x 10  
>   @ Available        SKL Node Time = Available SRU Time x 21  
>  ----------------------------------------------------------- 
>   ** more information :  http://www.ksc.re.kr  
>  ----------------------------------------------------------- 
>   Account manager 
>   - E-mail : [email protected]        Tel : 080-041-1991    
[17:14:37.187] > ============================================================
> * ***** Lustre Filesystem Quota Status ("*" exceeded quota)   
> ------------------------------------------------------------
> Filesystem       KBytes        Quota      Files      Quota
> ------------------------------------------------------------
[17:14:37.194] >    /home01          33G          64G      97502     100000
>   /scratch       17.33G         100T     104625    4000000
[17:14:37.208] > ============================================================
>  
[17:14:42.527] > ready: f23fa7438b2c
[17:14:42.544] > Linux 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020
[17:14:42.544] Platform: linux
[17:14:42.562] > /bin/bash
[17:14:42.563] Shell: bash
[17:14:42.563] Creating bash subshell inside "bash"
[17:14:42.877] > =================== Account Information ==================== 
>  * Account  :              rd1162 
>  * Due Date :          2025/04/30 
>  * Allocated  SRU Time :        2,880,000 [sec] 
>   >     Used  SRU Time :          247,508 [sec] 
>  -----------------------------------------------------------
>  *  Available SRU Time :        2,632,492 [sec] [91.41%]
>   @ Available SKL_V100_2 Node Time = Available SRU Time x  8  
>   @ Available IVY_V100_2 Node Time = Available SRU Time x 10  
>   @ Available        SKL Node Time = Available SRU Time x 21  
>  ----------------------------------------------------------- 
>   ** more information :  http://www.ksc.re.kr  
>  ----------------------------------------------------------- 
>   Account manager 
>   - E-mail : [email protected]        Tel : 080-041-1991    
[17:14:42.887] > ============================================================
> * ***** Lustre Filesystem Quota Status ("*" exceeded quota)   
> ------------------------------------------------------------
> Filesystem       KBytes        Quota      Files      Quota
> ------------------------------------------------------------
[17:14:42.889] >    /home01          33G          64G      97502     100000
[17:14:42.899] >   /scratch       17.33G         100T     104625    4000000
> ============================================================
>  
[17:14:43.611] > bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
[17:14:43.613] > bash version:  4.2.46(2)-release
[17:14:43.635] > bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> bash version:  4.2.46(2)-release
> f23fa7438b2c: running
[17:14:43.642] > Installing to /home01/****/.vscode-server...
> f23fa7438b2c%%1%%
> Downloading with wget
[17:14:43.651] > wget download failed
> wget: unrecognized option '--no-config' Usage: wget [OPTION]... [URL]... Try `wget --help' for more options.
> printenv:
>     MODULE_VERSION_STACK=3.2.10
>     MANPATH=/apps/applications/singularity/3.9.7/share/man:/usr/share/man
>     XDG_SESSION_ID=185634
>     HOSTNAME=glogin01
>     _ModuleTable003_=dGhBID0gewoiL01vZHVsZS9jb21waWxlcnMiLCAiL01vZHVsZS9tcGkiLCAiL01vZHVsZS9saWJyYXJpZXMiCiwgIi9Nb2R1bGUvbGlicmFyaWVzX3VzaW5nX21waSIsICIvTW9kdWxlL2N1ZGFfd2l0aF9hbGxfcGFja2FnZXNfaW5zdGFsbGVkIgosICIvTW9kdWxlL29ubHlfY3VkYV9pbnN0YWxsZWQiLCAiL01vZHVsZS9hcHBsaWNhdGlvbnMiLCAiL01vZHVsZS9uZ2MiCiwgIi9Nb2R1bGUvY29uZGFfcGFja2FnZXMiLCAiL01vZHVsZS9ldGMiLCAiL01vZHVsZS9HSF90ZXN0IiwgIi9Nb2R1bGUvdGVzdCIsCn0sCnN5c3RlbUJhc2VNUEFUSCA9ICIvTW9kdWxlL2NvbXBpbGVyczovTW9kdWxlL21waTovTW9kdWxlL2xpYnJhcmllczovTW9kdWxlL2xpYnJhcmllc191c2luZ19t
>     SHELL=/bin/bash
>     NGC_IMAGE_DIR=/apps/applications/singularity_images/ngc
>     __LMOD_REF_COUNT_MODULEPATH=/Module/compilers:1;/Module/mpi:1;/Module/libraries:1;/Module/libraries_using_mpi:1;/Module/cuda_with_all_packages_installed:1;/Module/only_cuda_installed:1;/Module/applications:1;/Module/ngc:1;/Module/conda_packages:1;/Module/etc:1;/Module/GH_test:1;/Module/test:1
>     HISTSIZE=10000
>     LMOD_ROOT=/apps/Modules/lmod
>     SSH_CLIENT=175.117.213.43 54848 22
>     LMOD_SYSTEM_DEFAULT_MODULES=singularity/3.9.7:nvtop/1.1.0:htop/3.0.5
>     CONDA_SHLVL=0
>     FPATH=/apps/Modules/lmod/lmod/init/ksh_funcs
>     LMOD_PKG=/apps/Modules/lmod/lmod
>     QTDIR=/usr/lib/qt-3.3
>     QTINC=/usr/lib/qt-3.3/include
>     LMOD_VERSION=8.7.43
>     LC_ALL=en_US.UTF-8
>     QT_GRAPHICSSYSTEM_CHECKED=1
>     USER=*******
>     HISTFILESIZE=100000
>     CONDA_EXE=/apps/applications/miniconda3/bin/conda
>     _ModuleTable004_=cGk6L01vZHVsZS9jdWRhX3dpdGhfYWxsX3BhY2thZ2VzX2luc3RhbGxlZDovTW9kdWxlL29ubHlfY3VkYV9pbnN0YWxsZWQ6L01vZHVsZS9hcHBsaWNhdGlvbnM6L01vZHVsZS9uZ2M6L01vZHVsZS9jb25kYV9wYWNrYWdlczovTW9kdWxlL2V0YzovTW9kdWxlL0dIX3Rlc3Q6L01vZHVsZS90ZXN0IiwKfQo=
>     TMOUT=7200
>     VSCODE_AGENT_FOLDER=/home01/*******/.vscode-server
>     _CE_CONDA=
>     PATH=/usr/local/bin:/apps/applications/miniconda3/condabin:/usr/local/bin:/apps/applications/htop/3.0.5:/apps/applications/nvtop/1.1.0/bin:/apps/applications/singularity/3.9.7/bin:/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/home01/*******/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/home01/*******/bin
>     MAIL=/var/spool/mail/*******
>     MODULE_VERSION=3.2.10
>     _ModuleTable001_=X01vZHVsZVRhYmxlXyA9IHsKTVR2ZXJzaW9uID0gMywKY19yZWJ1aWxkVGltZSA9IGZhbHNlLApjX3Nob3J0VGltZSA9IGZhbHNlLApkZXB0aFQgPSB7fSwKZmFtaWx5ID0ge30sCm1UID0gewpodG9wID0gewpmbiA9ICIvTW9kdWxlL2FwcGxpY2F0aW9ucy9odG9wLzMuMC41IiwKZnVsbE5hbWUgPSAiaHRvcC8zLjAuNSIsCmxvYWRPcmRlciA9IDMsCnByb3BUID0ge30sCnN0YWNrRGVwdGggPSAwLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAiaHRvcC8zLjAuNSIsCndWID0gIjAwMDAwMDAwMy4wMDAwMDAwMDAuMDAwMDAwMDA1Lip6ZmluYWwiLAp9LApudnRvcCA9IHsKZm4gPSAiL01vZHVsZS9hcHBsaWNhdGlvbnMvbnZ0b3AvMS4xLjAiLApmdWxsTmFtZSA9ICJu
>     PWD=/home01/*******/.vscode-server
>     INPUTRC=/etc/inputrc
>     _LMFILES_=/Module/applications/singularity/3.9.7:/Module/applications/nvtop/1.1.0:/Module/applications/htop/3.0.5
>     LANG=en_US.UTF-8
>     CONDA_PKGS_DIRS=/scratch/*******/.conda/pkgs
>     MODULEPATH=/Module/compilers:/Module/mpi:/Module/libraries:/Module/libraries_using_mpi:/Module/cuda_with_all_packages_installed:/Module/only_cuda_installed:/Module/applications:/Module/ngc:/Module/conda_packages:/Module/etc:/Module/GH_test:/Module/test
>     LOADEDMODULES=singularity/3.9.7:nvtop/1.1.0:htop/3.0.5
>     _ModuleTable_Sz_=4
>     PS1=\!% [\u@\h \W]$ 
>     LMOD_CMD=/apps/Modules/lmod/lmod/libexec/lmod
>     CONDA_ENVS_PATH=/scratch/****/.conda/envs
>     HISTCONTROL=ignoredups
>     _CE_M=
>     HOME=/home01/****
>     SHLVL=2
>     __LMOD_REF_COUNT_PATH=/apps/applications/htop/3.0.5:1;/apps/applications/nvtop/1.1.0/bin:1;/apps/applications/singularity/3.9.7/bin:1;/usr/lib/qt-3.3/bin:1;/usr/local/bin:1;/usr/bin:1;/usr/local/sbin:1;/usr/sbin:1
>     _ModuleTable002_=dnRvcC8xLjEuMCIsCmxvYWRPcmRlciA9IDIsCnByb3BUID0ge30sCnN0YWNrRGVwdGggPSAwLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAibnZ0b3AvMS4xLjAiLAp3ViA9ICIwMDAwMDAwMDEuMDAwMDAwMDAxLip6ZmluYWwiLAp9LApzaW5ndWxhcml0eSA9IHsKZm4gPSAiL01vZHVsZS9hcHBsaWNhdGlvbnMvc2luZ3VsYXJpdHkvMy45LjciLApmdWxsTmFtZSA9ICJzaW5ndWxhcml0eS8zLjkuNyIsCmxvYWRPcmRlciA9IDEsCnByb3BUID0ge30sCnN0YWNrRGVwdGggPSAwLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAic2luZ3VsYXJpdHkvMy45LjciLAp3ViA9ICIwMDAwMDAwMDMuMDAwMDAwMDA5LjAwMDAwMDAwNy4qemZpbmFsIiwKfSwKfSwKbXBh
>     BASH_ENV=/apps/Modules/lmod/lmod/init/bash
>     LOGNAME=*******
>     CONDA_PYTHON_EXE=/apps/applications/miniconda3/bin/python
>     QTLIB=/usr/lib/qt-3.3/lib
>     SSH_CONNECTION=175.117.213.43 54848 150.183.150.99 22
>     PDSH_SSH_ARGS_APPEND=-o StrictHostKeyChecking=no
>     MODULESHOME=/apps/Modules/lmod/lmod
>     LESSOPEN=||/usr/bin/lesspipe.sh %s
>     LMOD_SETTARG_FULL_SUPPORT=no
>     PROMPT_COMMAND=history -a
>     XDG_RUNTIME_DIR=/run/user/604116218
>     __LMOD_SET_KSH_FPATH=1
>     _INIT_LMOD=1
>     LMOD_DIR=/apps/Modules/lmod/lmod/libexec
>     __LMOD_REF_COUNT_MANPATH=/apps/applications/singularity/3.9.7/share/man:1;/usr/share/man:1
>     HISTTIMEFORMAT=%y-%m-%d %H:%M:%S 
>     BASH_FUNC_module()=() {  if [ -z "${LMOD_SH_DBG_ON+x}" ]; then
>      case "$-" in 
>      *v*x*)
>      __lmod_sh_dbg='vx'
>      ;;
>      *v*)
>      __lmod_sh_dbg='v'
>      ;;
>      *x*)
>      __lmod_sh_dbg='x'
>      ;;
>      esac;
>      fi;
>      if [ -n "${__lmod_sh_dbg:-}" ]; then
>      set +$__lmod_sh_dbg;
>      echo "Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output" 1>&2;
>      fi;
>      eval "$($LMOD_CMD shell "$@")" && eval "$(${LMOD_SETTARG_CMD:-:} -s sh)";
>      __lmod_my_status=$?;
>      if [ -n "${__lmod_sh_dbg:-}" ]; then
>      echo "Shell debugging restarted" 1>&2;
>      set -$__lmod_sh_dbg;
>      fi;
>      unset __lmod_sh_dbg;
>      return $__lmod_my_status
>     }
>     BASH_FUNC_ml()=() {  eval "$($LMOD_DIR/ml_cmd "$@")"
>     }
>     OLDPWD=/home01/*******
>     _=/usr/bin/printenv
> Trigger local server download
> f23fa7438b2c:trigger_server_download
> artifact==cli-alpine-x64==
> destFolder==/home01/*******/.vscode-server==
> destFolder2==/vscode-cli-fee1edb8d6d72a0ddff41e5f71a671c23ed924b9.tar.gz==
> f23fa7438b2c:trigger_server_download_end
> Waiting for client to transfer server archive...
> Waiting for /home01/*******/.vscode-server/vscode-cli-fee1edb8d6d72a0ddff41e5f71a671c23ed924b9.tar.gz.done and vscode-server.tar.gz to exist
>  
[17:14:43.652] Got request to download on client for {"artifact":"cli-alpine-x64","destPath":"/home01/*******/.vscode-server/vscode-cli-fee1edb8d6d72a0ddff41e5f71a671c23ed924b9.tar.gz"}
[17:14:43.653] server download URL: https://update.code.visualstudio.com/commit:fee1edb8d6d72a0ddff41e5f71a671c23ed924b9/cli-alpine-x64/stable
[17:14:43.653] Downloading VS Code server locally...
[17:14:43.706] Downloaded VS Code server to /var/folders/_l/lzjqvgxn0f1c0mx3l_psd45r0000gp/T/1326aae9-7934-44f1-8365-57a5fa1695f4
[17:14:43.707] Renamed VS Code server to /var/folders/_l/lzjqvgxn0f1c0mx3l_psd45r0000gp/T/vscode_server_1723882483706/vscode-cli-fee1edb8d6d72a0ddff41e5f71a671c23ed924b9.tar.gz
[17:14:43.708] PATH: /usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
[17:14:43.708] Checking ssh with "ssh -V"
[17:14:43.713] > OpenSSH_9.7p1, LibreSSL 3.3.6

[17:14:43.714] Testing scp with "scp"
[17:14:43.717] scp exited with code: 1
[17:14:43.717] Got stderr from scp: usage: scp [-346ABCOpqRrsTv] [-c cipher] [-D sftp_server_path] [-F ssh_config]
           [-i identity_file] [-J destination] [-l limit] [-o ssh_option]
           [-P port] [-S program] [-X sftp_option] source ... target
[17:14:43.718] Copying file to remote with scp -o ConnectTimeout=15 'vscode-cli-fee1edb8d6d72a0ddff41e5f71a671c23ed924b9.tar.gz' 'vscode-cli-fee1edb8d6d72a0ddff41e5f71a671c23ed924b9.tar.gz.done' neuron:'/home01/*******/.vscode-server'
[17:14:43.718] Using cwd: file:///var/folders//****/****/T/vscode_server_1723882483706
[17:14:44.045] > (*******@neuron.ksc.re.kr) Password(OTP): 

Anything else?

No response

yahyunee avatar Aug 17 '24 08:08 yahyunee

Same problem. I have tried both values of the remote.SSH.useLocalServer setting.

chen1plus avatar Aug 18 '24 08:08 chen1plus

Yeah I've tried both values and it didn't work for both of them too

yahyunee avatar Aug 19 '24 02:08 yahyunee

I think the problem is vscode tried to use scp without the otp and password. It didn't expose the terminal or show a prompt to let us enter the password.

chen1plus avatar Aug 19 '24 12:08 chen1plus

wget doesn't have a --no-config option on remote server . Is there a way to turn this option off

wisey107 avatar Aug 20 '24 06:08 wisey107

I have the same issue with version v0.113.1. As a workaround, I downgraded to version v0.112.0.

dcmorais avatar Aug 22 '24 12:08 dcmorais

Oh for me, actually the terminal prompt me to enter OTP and password. But it turned out it was working correctly according to the policy of the remote server. (i.e. not being able to use visual studio code) My problem was that the remote server not allowing to use visual studio code due to security issue. In the config file in /etc/ssh/sshd_config, AllowTcpForwarding is set to No, so I was not allowed from the start to use visual studio code. So if it worked right it shouldn't have worked with other lab members but for some reason it was only the case for me so I've been searching A LOT. Thanks a lot for your comments!

yahyunee avatar Aug 23 '24 08:08 yahyunee

I was experiencing trouble downloading Vscode on the remote box. Setting "remote.SSH.useCurlAndWgetConfigurationFiles": true resolved my issue.

This seems to disable the --no-configs option for wget.

justin6case avatar Aug 28 '24 19:08 justin6case

@joshspicer @roblourens looks like there have been 3 similar issues filed over the past couple weeks:

  • This one
  • https://github.com/microsoft/vscode-remote-release/issues/10154
  • https://github.com/microsoft/vscode-remote-release/issues/10167

bamurtaugh avatar Aug 28 '24 22:08 bamurtaugh

Please use @justin6case 's suggestion while I get a fix out, that will avoid the scp code path altogether if your version of wget doesn't support the --no-config flag.

For anyone hitting this issue, could you please share the out of wget --version and OS of the remote machine you're using? That will help us figure out the best fix - thanks!

joshspicer avatar Aug 28 '24 22:08 joshspicer

running on amazon linux 2 wget --version GNU Wget 1.14 built on linux-gnu.

+digest +https +ipv6 +iri +large-file +nls +ntlm +opie +ssl/openssl

Wgetrc: /etc/wgetrc (system) Locale: /usr/share/locale Compile: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc" -DLOCALEDIR="/usr/share/locale" -I. -I../lib -I../lib -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic Link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -lssl -lcrypto /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so -ldl -lz -lz -lidn -luuid -lpcre ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a

wisey107 avatar Aug 28 '24 22:08 wisey107

Indeed this version of wget that I get from a clean amazonlinux:2 docker image does not have the --no-config flag 🙁. Thanks for the info

[~]$ docker run -it amazonlinux:2
bash-4.2# yum install wget
...
...
bash-4.2# wget --no-config https://blah
wget: unrecognized option '--no-config'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.

joshspicer avatar Aug 28 '24 22:08 joshspicer

The newest pre-release extension should fix the issue with wget. Please let me know if it helps

joshspicer avatar Aug 29 '24 03:08 joshspicer

我在远程机器上下载 Vscode 时遇到了麻烦。设置"remote.SSH.useCurlAndWgetConfigurationFiles": true解决了我的问题。

这似乎禁用了该--no-configs选项wget

it works.thanks

baozi510 avatar Oct 07 '24 13:10 baozi510

@joshspicer If you're still interested in wget versions where this is failing:

CentOS Linux 7 (Core)

GNU Wget 1.14 built on linux-gnu.

+digest +https +ipv6 +iri +large-file +nls +ntlm +opie +ssl/openssl 

Wgetrc: 
    /etc/wgetrc (system)
Locale: /usr/share/locale 
Compile: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc" 
    -DLOCALEDIR="/usr/share/locale" -I. -I../lib -I../lib -O2 -g -pipe 
    -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
    --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
Link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
    -fstack-protector-strong --param=ssp-buffer-size=4 
    -grecord-gcc-switches -m64 -mtune=generic -lssl -lcrypto 
    /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so 
    -ldl -lz -lz -lidn -luuid -lpcre ftp-opie.o openssl.o http-ntlm.o 
    ../lib/libgnu.a 

andrews05 avatar Oct 09 '24 04:10 andrews05