Skip to content

Remote SSH connections are slow to setup on Windows #1993

@peterjc123

Description

@peterjc123

Lapce Version

The Lapce version you are using, which can be found in "About Lapce" at the top right settings icon.
0.2.5

System information

the operating system used, including its version, e.g. Windows 10, Ubuntu 18.04
Host: Windows 10 21H2
Remote: Debian sid

Describe the bug

A clear and concise description of what the bug is.

It takes nearly one minute to connect to a pre-configured remote SSH server on the same LAN.

Additional information

Other information that can be used to further reproduce or isolate the problem.
This commonly includes:

  • screenshots
  • logs
  • theories about what might be going wrong
  • workarounds that you used

Log:

[2023-01-14][12:41:48][lapce_data::proxy::start_remote::first_try][DEBUG] bash: Line 1: lapce-no-command: Not found

[2023-01-14][12:41:48][lapce_data::proxy::start_remote::first_try][DEBUG] 
[2023-01-14][12:42:04][lapce_data::proxy::host_specification][DEBUG] linux x86_64
[2023-01-14][12:42:19][lapce_data::proxy::upload_file][DEBUG] 
[2023-01-14][12:42:19][lapce_data::proxy::upload_file][DEBUG] 
[2023-01-14][12:42:34][lapce_data::proxy::upload_file][DEBUG] 
[2023-01-14][12:42:34][lapce_data::proxy::upload_file][DEBUG] 
[2023-01-14][12:42:50][lapce_data::proxy::upload_file][DEBUG] + _TMP=/tmp
+ _VER=v0.2.5
+ eval _DIR='/home/peter/.local/share/lapce-stable/proxy'
+ _DIR=/home/peter/.local/share/lapce-stable/proxy
+ [ -e /home/peter/.local/share/lapce-stable/proxy/lapce ]
+ chmod +x /home/peter/.local/share/lapce-stable/proxy/lapce
+ /home/peter/.local/share/lapce-stable/proxy/lapce --version
+ cut -dv -f2
+ _ver=Lapce 0.2.5
+ printf [DEBUG]: %s = %s Lapce 0.2.5 v0.2.5
+ [ Lapce 0.2.5 = v0.2.5 ]
+ printf Proxy already exists\n
+ exit 0

[2023-01-14][12:42:50][lapce_data::proxy::upload_file][DEBUG] [DEBUG]: Lapce 0.2.5 = v0.2.5Proxy already exists

I guess what is wrong is that it takes too long to communicate via SSH and SCP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-remoteArea: remote development (SSH, WSL)C-bugCategory: bug - something isn't working as it's supposed toC-perfCategory: performanceS-externalStatus: problem exists outside of project scope

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions