Skip to content

[Bug]: Stuck in CpWshToRemote #3061

Description

@yanickxia

Current Behavior

When use Macos, can't copy wsh to remote, without any useful log.

[conndebug] trying to connect to "root@devbox-cn"...
[conndebug] connectInternal root@devbox-cn
[conndebug] ConnectToClient root@devbox-cn (jump:0)...
[conndebug] ssh dial devbox-cn:22
[conndebug] successful ssh connection to devbox-cn:22
[conndebug] normalized knownhosts address: root@10.37.126.42
[conndebug] running tryEnableWsh...
[conndebug] wsh settings enable:true ask:false
[conndebug] running OpenDomainSocketListener...
[conndebug] generated domain socket name /tmp/waveterm-d056256411c55c25.sock
[conndebug] successfully connected domain socket
[conndebug] running StartConnServer (routerMode=true)...
[conndebug] SSH-NEWSESSION (StartConnServer)
[conndebug] wrapped command:
sh -c "~/.waveterm/bin/wsh version 2> /dev/null || (echo -n \"not-installed \"; uname -sm; exit 0);
exec ~/.waveterm/bin/wsh connserver --conn root@devbox-cn  --router-domainsocket"
[conndebug] actual connnserverversion: "not-installed Linux x86_64"
[conndebug] got connserver version: not-installed Linux x86_64
[conndebug] connserver up-to-date: false
[conndebug] connserver needs to be (re)installed
[conndebug] running installWsh...
[conndebug] detected remote platform os:linux arch:x64
[conndebug] CpWshToRemote, timeout: 59.03584075s
[conndebug] copying "/Applications/Wave.app/Contents/Resources/app.asar.unpacked/dist/bin/wsh-0.14.3-linux.x64" to remote server "~/.waveterm/bin/wsh"
[conndebug] ERROR copying wsh binary to remote: remote command failed: context deadline exceeded (stderr: )
[conndebug] ERROR installing wsh: error copying wsh binary to remote: remote command failed: context deadline exceeded (stderr: )
[conndebug] ERROR enabling wsh: error installing wsh: error copying wsh binary to remote: remote command failed: context deadline exceeded (stderr: )
[conndebug] will connect with wsh disabled
[conndebug] successfully connected (wsh:false)


[conndebug] ShellController.run() "9b6dfdf9-256d-46ee-a4e5-7b86349a1dfc"
[conndebug] DoRunShellCommand
[conndebug] resetTerminalState: resetting terminal state
[conndebug] remoteName: "root@devbox-cn", connType: ssh, wshEnabled: false, shell: "", shellType: 
[conndebug] created swaptoken: 39ad1588-81e7-443f-ae46-cd3b77a03b68
Last login: Sat Mar 14 20:40:18 2026 from 10.1.120.82

Expected Behavior

should copy wsh works

Steps To Reproduce

  1. ssh to host

Wave Version

0.14.3

Platform

macOS

OS Version/Distribution

No response

Architecture

arm64

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions