Wezterm exits after ssh login #6572
-
What Operating System(s) are you running on?Windows Which Wayland compositor or X11 Window manager(s) are you using?No response WezTerm version20240203-110809-5046fc22 Ask your question!I order to bypass conPTY I'm in process of changing my wezterm config. I'd like it to ssh into my WSL Ubuntu machine right after its executed. Executing wezterm with config below currently opens a term window with ssh password prompt, and after successful login terminal is closed. At first I'd thought sshd config might be the problem but from logs it looks fine and I've tried to log in with cli and that works: Have I misunderstood config for ssh domains or what am I doing wrong? local wezterm = require("wezterm")
local config = wezterm.config_builder()
config.default_domain = "SSH:Ubuntu"
config.ssh_domains = {
{
name = "SSH:Ubuntu",
remote_address = "localhost",
username = "raswonders",
},
}
return config |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After reading docs I realized I'm missing multiplexer (wezterm instance on linux) to which my windows instance is trying to connect. Installing wezterm on Ubuntu machine solved the issue. |
Beta Was this translation helpful? Give feedback.
After reading docs I realized I'm missing multiplexer (wezterm instance on linux) to which my windows instance is trying to connect. Installing wezterm on Ubuntu machine solved the issue.