t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Connection via ssh doesn't work on network limited environments

Open S4AR-inc opened this issue 1 month ago • 0 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Install t3 on computer
  2. Install t3 via npm on Linux vm
  3. Limit vm network access to github (this could be done by running vm locally and disconnecting computer from network)
  4. Try to add connection to the vm via ssh from main computer

Expected behavior

The connection works or an indicative error is shown with the option to drag a t3 executable to install or install via npm or set a baseurl.

Actual behavior

Non indicative error "Could not prepare the SSH envrionment: Error invoking remote method 'desktop:ensure-ssh-environment': SshCommandError: curl: (6) Could not resolve host: github.com"

Impact

Blocks work completely

Version or commit

0.1.0

Environment

Window 10 desktop 0.1.0 to Linux with t3 0.1.0

Logs or stack traces


Screenshots, recordings, or supporting files

No response

Workaround

Symlinking the working copy to ~/.t3/runtime/versions/0.1.0/t3 and creating ~/.t3/runtime/versions/0.1.0/.install-complete with 0.1.0

S4AR-inc avatar Oct 20 '26 15:10 S4AR-inc