Replies: 4 comments 3 replies
-
libssh2 doesn't properly implement support for agent forwarding: Until it does, wezterm is also unable to provide agent forwarding. |
Beta Was this translation helpful? Give feedback.
-
Poking at this, the libssh2 issue seems addressed, is this unblocked now? |
Beta Was this translation helpful? Give feedback.
-
I am also very interested in this. Lack of agent forwarding is the only thing keeping me on kitty/tmux for now. |
Beta Was this translation helpful? Give feedback.
-
as of 4af418f, the mux server now automatically maintains SSH_AUTH_SOCK based on the most recently active multiplexer client. There have been additional commits to enable agent forwarding, if your ssh config enables it, for ssh domains. |
Beta Was this translation helpful? Give feedback.
-
So I have the agent started, key loaded,
ssh-add -L
shows it.Now I want to connect to a remote wez ssh host and keep my agent around.
with other emulators it works and I think I could make it work also with tmux upon rea-attaching.
I also have
ForwardAgent yes
in my.ssh/config
and logging in to the server and doingssh-add -L
shows the key also.The issue is then How can I get forwarding to work with ssh multiplexing/domains?
My current config:
I marked the relevant line above with
HERE I need the agent to be forwarded
In the code, I could find:
wezterm/wezterm-mux-server/src/main.rs
Lines 130 to 146 in c22765c
wezterm/wezterm-ssh/src/config.rs
Lines 524 to 528 in ba42367
Which makes me believe it's not possible?
Beta Was this translation helpful? Give feedback.
All reactions