No Password Input in VS Code: VS Code does not seem to provide the correct input prompt for entering the password, unlike XShell.
3.I tried using an RSA key to log in, and it works successfully in XShell and my PC terminal, but in VS Code, it showed an error. The issue seems specific to the VS Code Remote-SSH plugin, and I’m not sure what’s causing it. The logs don't seem to show any related issues.
4.The log shows the server recognizes it as a FreeBSD system but confirms on the server that it is amd64. Is there some difference?
Relevant Logs from VS Code Output
[02:25:47.293] Log Level: 2
[02:25:47.306] SSH Resolver called for "ssh-remote+serv00", attempt 1
[02:25:47.307] "remote.SSH.useLocalServer": false
[02:25:47.307] "remote.SSH.useExecServer": true
[02:25:47.307] "remote.SSH.showLoginTerminal": false
[02:25:47.307] "remote.SSH.remotePlatform": {"fuwuqi":"linux","218.199.69.86":"linux"}
[02:25:47.307] "remote.SSH.path": undefined
[02:25:47.307] "remote.SSH.configFile": C:\Users\changgeng\.ssh\config
[02:25:47.307] "remote.SSH.useFlock": true
[02:25:47.307] "remote.SSH.lockfilesInTmp": false
[02:25:47.307] "remote.SSH.localServerDownload": auto
[02:25:47.307] "remote.SSH.remoteServerListenOnSocket": false
[02:25:47.308] "remote.SSH.showLoginTerminal": false
[02:25:47.309] "remote.SSH.defaultExtensions": []
[02:25:47.309] "remote.SSH.loglevel": 2
[02:25:47.309] "remote.SSH.enableDynamicForwarding": true
[02:25:47.309] "remote.SSH.enableRemoteCommand": false
[02:25:47.309] "remote.SSH.serverPickPortsFromRange": {}
[02:25:47.309] "remote.SSH.serverInstallPath": {}
[02:25:47.309] "remote.SSH.permitPtyAllocation": false
[02:25:47.309] "remote.SSH.preferredLocalPortRange: undefined
[02:25:47.309] "remote.SSH.useCurlAndWgetConfigurationFiles: false
[02:25:47.314] VS Code version: 1.95.3
[02:25:47.314] Remote-SSH version: remote-ssh@0.115.1
[02:25:47.314] win32 x64
[02:25:47.316] SSH Resolver called for host: serv00
[02:25:47.316] Setting up SSH remote "serv00"
[02:25:47.322] Using commit id "f1a4fb101478ce6ec82fe9627c43efbf9e98c813" and quality "stable" for server
[02:25:47.324] Script variables:
{
"InstallExitCode.24": "AlreadyInProgress",
"InstallExitCode.25": "ServerDownloadFailed",
"InstallExitCode.26": "NoDownloaderAvailable",
"InstallExitCode.27": "UnsupportedArch",
"InstallExitCode.28": "StatusCheckFailed",
"InstallExitCode.29": "NeedInsidersArch",
"InstallExitCode.30": "NoDownloaderAvailableForStatusCheck",
"InstallExitCode.31": "ServerTransferFailed",
"InstallExitCode.32": "ServerFailedToStart",
"InstallExitCode.33": "NeedInsidersWindows",
"InstallExitCode.34": "CreateInstallDirFailed",
"InstallExitCode.35": "UnsupportedPlatform",
"InstallExitCode.36": "ServerTerminatedCVE20201416",
"InstallExitCode.37": "UnpackFailed",
"InstallExitCode.38": "ChangeDirFailed",
"InstallExitCode.AlreadyInProgress": "24",
"InstallExitCode.ServerDownloadFailed": "25",
"InstallExitCode.NoDownloaderAvailable": "26",
"InstallExitCode.NoDownloaderAvailableForStatusCheck": "30",
"InstallExitCode.UnsupportedArch": "27",
"InstallExitCode.StatusCheckFailed": "28",
"InstallExitCode.NeedInsidersArch": "29",
"InstallExitCode.ServerTransferFailed": "31",
"InstallExitCode.ServerFailedToStart": "32",
"InstallExitCode.NeedInsidersWindows": "33",
"InstallExitCode.CreateInstallDirFailed": "34",
"InstallExitCode.UnsupportedPlatform": "35",
"InstallExitCode.ServerTerminatedCVE20201416": "36",
"InstallExitCode.UnpackFailed": "37",
"InstallExitCode.ChangeDirFailed": "38",
"InstallUnpackCode.Success": "success",
"InstallUnpackCode.Error": "error",
"InstallUnpackCode.MissingFiles": "missingFiles",
"uuid": "c42b7164019d",
"startMarker": "c42b7164019d: running",
"commitId": "f1a4fb101478ce6ec82fe9627c43efbf9e98c813",
"quality": "stable",
"token": "1111aa1a-111a-1111-aa11-11aa11a1111a",
"vscodeAgentFolder": "$HOME/.vscode-server",
"allowClientDownload": "1",
"forceClientDownload": "0",
"cliNameInArchive": "code",
"ignoreWgetConfigFlag": " --no-config ",
"ignoreCurlConfigFlag": " --disable ",
"wgetTriesSegment": "--tries=1",
"listenArgs": "--on-host=127.0.0.1 --on-port",
"getDownloadServerStartTrigger": "c42b7164019d:trigger_server_download",
"getDownloadServerEndTrigger": "c42b7164019d:trigger_server_download_end",
"getProgressDownloading": "c42b7164019d%%1%%",
"getProgressInstalling": "c42b7164019d%%2%%"
}
[02:25:47.325] Install and start server if needed
[02:25:48.610] Checking ssh with "C:\Program Files (x86)\Common Files\Oracle\Java\java8path\ssh.exe -V"
[02:25:48.612] Got error from ssh: spawn C:\Program Files (x86)\Common Files\Oracle\Java\java8path\ssh.exe ENOENT
[02:25:48.613] Checking ssh with "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\ssh.exe -V"
[02:25:48.613] Got error from ssh: spawn C:\Program Files (x86)\Common Files\Oracle\Java\javapath\ssh.exe ENOENT
[02:25:48.614] Checking ssh with "C:\Program Files\Microsoft MPI\Bin\ssh.exe -V"
[02:25:48.614] Got error from ssh: spawn C:\Program Files\Microsoft MPI\Bin\ssh.exe ENOENT
[02:25:48.614] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[02:25:48.615] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[02:25:48.616] Checking ssh with "C:\Windows\ssh.exe -V"
[02:25:48.616] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[02:25:48.616] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[02:25:48.617] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[02:25:48.617] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[02:25:48.618] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[02:25:48.618] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[02:25:48.677] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
[02:25:48.681] Using SSH config file "C:\Users\changgeng\.ssh\config"
[02:25:48.681] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 10130 -F "C:\Users\changgeng\.ssh\config" serv00 sh
[02:25:48.682] Generated SSH command: 'type "C:\Users\changgeng\AppData\Local\Temp\vscode-linux-multi-line-command-serv00-183139970.sh" | "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 10130 -F "C:\Users\changgeng\.ssh\config" serv00 sh'
[02:25:48.683] Using connect timeout of 17 seconds
[02:25:48.684] Terminal shell path: C:\Windows\System32\cmd.exe
[02:25:52.928] > c42b7164019d: running
> Script executing under PID: 64752
> ]0;C:\Windows\System32\cmd.exe
[02:25:52.929] Got some output, clearing connection timeout
[02:25:52.949] > Unsupported platform: FreeBSD
> c42b7164019d: start
> exitCode==35==
> listeningOn====
> osReleaseId==freebsd==
> arch====
> vscodeArch====
> bitness====
> tmpDir==/tmp==
> platform====
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime====
> execServerToken==1111aa1a-111a-1111-aa11-11aa11a1111a==
> platformDownloadPath====
> c42b7164019d: end
[02:25:52.949] Received install output:
exitCode==35==
listeningOn====
osReleaseId==freebsd==
arch====
vscodeArch====
bitness====
tmpDir==/tmp==
platform====
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime====
execServerToken==1111aa1a-111a-1111-aa11-11aa11a1111a==
platformDownloadPath====
[02:25:52.950] Failed to parse remote port from server output
[02:25:52.951] Resolver error: Error:
at v.Create (c:\Users\changgeng\.vscode\extensions\ms-vscode-remote.remote-ssh-0.115.1\out\extension.js:2:493431)
at t.handleInstallOutput (c:\Users\changgeng\.vscode\extensions\ms-vscode-remote.remote-ssh-0.115.1\out\extension.js:2:490753)
at t.tryInstall (c:\Users\changgeng\.vscode\extensions\ms-vscode-remote.remote-ssh-0.115.1\out\extension.js:2:608797)
at async c:\Users\changgeng\.vscode\extensions\ms-vscode-remote.remote-ssh-0.115.1\out\extension.js:2:568008
at async t.withShowDetailsEvent (c:\Users\changgeng\.vscode\extensions\ms-vscode-remote.remote-ssh-0.115.1\out\extension.js:2:571256)
at async P (c:\Users\changgeng\.vscode\extensions\ms-vscode-remote.remote-ssh-0.115.1\out\extension.js:2:564794)
at async t.resolve (c:\Users\changgeng\.vscode\extensions\ms-vscode-remote.remote-ssh-0.115.1\out\extension.js:2:568667)
at async c:\Users\changgeng\.vscode\extensions\ms-vscode-remote.remote-ssh-0.115.1\out\extension.js:2:839059
[02:25:52.955] ------
[02:25:53.696] Opening exec server for ssh-remote+serv00
[02:25:53.762] Initizing new exec server for ssh-remote+serv00
[02:25:53.763] Using commit id "f1a4fb101478ce6ec82fe9627c43efbf9e98c813" and quality "stable" for server
[02:25:53.784] Opening exec server for ssh-remote+serv00
[02:25:53.856] Script variables:
{
"InstallExitCode.24": "AlreadyInProgress",
"InstallExitCode.25": "ServerDownloadFailed",
"InstallExitCode.26": "NoDownloaderAvailable",
"InstallExitCode.27": "UnsupportedArch",
"InstallExitCode.28": "StatusCheckFailed",
"InstallExitCode.29": "NeedInsidersArch",
"InstallExitCode.30": "NoDownloaderAvailableForStatusCheck",
"InstallExitCode.31": "ServerTransferFailed",
"InstallExitCode.32": "ServerFailedToStart",
"InstallExitCode.33": "NeedInsidersWindows",
"InstallExitCode.34": "CreateInstallDirFailed",
"InstallExitCode.35": "UnsupportedPlatform",
"InstallExitCode.36": "ServerTerminatedCVE20201416",
"InstallExitCode.37": "UnpackFailed",
"InstallExitCode.38": "ChangeDirFailed",
"InstallExitCode.AlreadyInProgress": "24",
"InstallExitCode.ServerDownloadFailed": "25",
"InstallExitCode.NoDownloaderAvailable": "26",
"InstallExitCode.NoDownloaderAvailableForStatusCheck": "30",
"InstallExitCode.UnsupportedArch": "27",
"InstallExitCode.StatusCheckFailed": "28",
"InstallExitCode.NeedInsidersArch": "29",
"InstallExitCode.ServerTransferFailed": "31",
"InstallExitCode.ServerFailedToStart": "32",
"InstallExitCode.NeedInsidersWindows": "33",
"InstallExitCode.CreateInstallDirFailed": "34",
"InstallExitCode.UnsupportedPlatform": "35",
"InstallExitCode.ServerTerminatedCVE20201416": "36",
"InstallExitCode.UnpackFailed": "37",
"InstallExitCode.ChangeDirFailed": "38",
"InstallUnpackCode.Success": "success",
"InstallUnpackCode.Error": "error",
"InstallUnpackCode.MissingFiles": "missingFiles",
"uuid": "5ea240a0d84b",
"startMarker": "5ea240a0d84b: running",
"commitId": "f1a4fb101478ce6ec82fe9627c43efbf9e98c813",
"quality": "stable",
"token": "a111a1aa-aa11-11a1-1a11-111a111a11a1",
"vscodeAgentFolder": "$HOME/.vscode-server",
"allowClientDownload": "1",
"forceClientDownload": "0",
"cliNameInArchive": "code",
"ignoreWgetConfigFlag": " --no-config ",
"ignoreCurlConfigFlag": " --disable ",
"wgetTriesSegment": "--tries=1",
"listenArgs": "--on-host=127.0.0.1 --on-port",
"getDownloadServerStartTrigger": "5ea240a0d84b:trigger_server_download",
"getDownloadServerEndTrigger": "5ea240a0d84b:trigger_server_download_end",
"getProgressDownloading": "5ea240a0d84b%%1%%",
"getProgressInstalling": "5ea240a0d84b%%2%%"
}
[02:25:53.857] Install and start server if needed
[02:25:54.294] "install" terminal command done
[02:25:54.295] Install terminal quit with output:
[02:25:57.295] getPlatformForHost was canceled
[02:25:57.296] Exec server for ssh-remote+serv00 failed: Error: 已取消连接
[02:25:57.296] Existing exec server for ssh-remote+serv00 errored (Error: 已取消连接)
[02:25:57.296] Initizing new exec server for ssh-remote+serv00
[02:25:57.296] Using commit id "f1a4fb101478ce6ec82fe9627c43efbf9e98c813" and quality "stable" for server
[02:25:57.297] Error opening exec server for ssh-remote+serv00: Error: 已取消连接
[02:25:57.298] Script variables:
{
"InstallExitCode.24": "AlreadyInProgress",
"InstallExitCode.25": "ServerDownloadFailed",
"InstallExitCode.26": "NoDownloaderAvailable",
"InstallExitCode.27": "UnsupportedArch",
"InstallExitCode.28": "StatusCheckFailed",
"InstallExitCode.29": "NeedInsidersArch",
"InstallExitCode.30": "NoDownloaderAvailableForStatusCheck",
"InstallExitCode.31": "ServerTransferFailed",
"InstallExitCode.32": "ServerFailedToStart",
"InstallExitCode.33": "NeedInsidersWindows",
"InstallExitCode.34": "CreateInstallDirFailed",
"InstallExitCode.35": "UnsupportedPlatform",
"InstallExitCode.36": "ServerTerminatedCVE20201416",
"InstallExitCode.37": "UnpackFailed",
"InstallExitCode.38": "ChangeDirFailed",
"InstallExitCode.AlreadyInProgress": "24",
"InstallExitCode.ServerDownloadFailed": "25",
"InstallExitCode.NoDownloaderAvailable": "26",
"InstallExitCode.NoDownloaderAvailableForStatusCheck": "30",
"InstallExitCode.UnsupportedArch": "27",
"InstallExitCode.StatusCheckFailed": "28",
"InstallExitCode.NeedInsidersArch": "29",
"InstallExitCode.ServerTransferFailed": "31",
"InstallExitCode.ServerFailedToStart": "32",
"InstallExitCode.NeedInsidersWindows": "33",
"InstallExitCode.CreateInstallDirFailed": "34",
"InstallExitCode.UnsupportedPlatform": "35",
"InstallExitCode.ServerTerminatedCVE20201416": "36",
"InstallExitCode.UnpackFailed": "37",
"InstallExitCode.ChangeDirFailed": "38",
"InstallUnpackCode.Success": "success",
"InstallUnpackCode.Error": "error",
"InstallUnpackCode.MissingFiles": "missingFiles",
"uuid": "bc277a461b7d",
"startMarker": "bc277a461b7d: running",
"commitId": "f1a4fb101478ce6ec82fe9627c43efbf9e98c813",
"quality": "stable",
"token": "a11aa11a-11aa-1a1a-aa11-a111a1aaa1a1",
"vscodeAgentFolder": "$HOME/.vscode-server",
"allowClientDownload": "1",
"forceClientDownload": "0",
"cliNameInArchive": "code",
"ignoreWgetConfigFlag": " --no-config ",
"ignoreCurlConfigFlag": " --disable ",
"wgetTriesSegment": "--tries=1",
"listenArgs": "--on-host=127.0.0.1 --on-port",
"getDownloadServerStartTrigger": "bc277a461b7d:trigger_server_download",
"getDownloadServerEndTrigger": "bc277a461b7d:trigger_server_download_end",
"getProgressDownloading": "bc277a461b7d%%1%%",
"getProgressInstalling": "bc277a461b7d%%2%%"
}
[02:25:57.299] Install and start server if needed
Any assistance or suggestions would be greatly appreciated. Thank you for your time!