-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
X11 forwarding support #291
Comments
You can use port tunneling to tunnel your ssh port and use ssh to get port forwarding. |
Thanks for your quick response! |
et -t 6010:22 (hostname) Then in another terminal ssh -Y localhost -p 6010 |
Thanks, that works indeed! |
Hi, I'm trying to use et with X11 forwarding, from a chromebook client (with default debian-based linux image) to a linux (ubuntu) PC. The first command works fine: I leave that shell open and in a new terminal window on the client, I run the second command. The second command fails: Can this have something to do with the way Linux is deployed on a chromebook? Best regards, |
Ssh doesn't support the colon notation and you need to use the -p switch |
Oops, true! Second command should be |
@MisterTea Your proposed solution doesn't work for me. Would it be possible at all to just make it an extra flag on ET to forward X11? |
@reeseovine AFAIK it's not straightforward because ET doesn't implement the SSH protocol (see https://eternalterminal.dev/howitworks/) and for good reasons. To get all SSH features with ET, I wrote a simple script you can try: https://github.com/infokiller/ssh-et |
@infokiller that script looks cool! Feel free to submit a PR putting a copy of that script in the scripts/ folder of this repo. |
Thanks, I'll submit a PR. |
Would that require making a change to the ssh source or is there some
plugin system on that side?
…On Sat, Apr 16, 2022, 4:21 PM infokiller ***@***.***> wrote:
Thanks, I'll submit a PR.
ET is great. I'm thinking of going further and making it a drop in
replacement for ssh. ET can be toggled via an option, either in the command
line (for example ssh -oET=yes ...) and in the config files (~/.ssh/config
etc). This way you can use ET with anything that uses uses ssh behind like
rsync or VSCode (with the remote ssh extension).
—
Reply to this email directly, view it on GitHub
<#291 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACK5P3R3HA7BVLZTP2MKATVFMVNXANCNFSM4K666OGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I'm thinking of implementing a wrapper around OpenSSH), similar to From the command line, you would use it like this: For Host my-server
HostName my-server.my-domain.com
IdentityFile ~/.ssh/id_ed25519_my_server
ForwardX11 yes If you want to use ET by default when connecting to # Put this at the start of `~/.ssh/config` to prevent SSH errors for ET options
Host *
IgnoreUnknown UseET
Host my-server
HostName my-server.my-domain.com
IdentityFile ~/.ssh/id_ed25519_my_server
ForwardX11 yes
UseET yes |
Have ya tried Xpra1 at all? I use it for any X11 forwarding and it's exquisite, what X11 forwarding should be. It's already designed to handle/recover from unstable connections, too, like screen or tmux, but for GUI's or even entire desktop sessions. They call it "screen for X" even. With Now I've found ssh-et as well! but it doesn't quite appear to be a drop in replacement. Where ssh-et: Found open port: 52200
ssh-et: Running: et -t 52200:22 -N fooserver
et: ET running, feel free to background...
ssh-et: Running: ssh -p 52200 -oHostName=127.0.0.1 -oHostKeyAlias=fooserver fooserver
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 52200 I did find another server that ssh-et ran on, after confirming mess with the saved associated with
Now, I tried Xpra with Btw @infokiller can you remind us of correct pronunciation of ssh-et? 😉 😜Footnotes |
Does ET support X11 forwarding (which corresponds to the SSH
-X
and-Y
CLI params)?For context, my motivation for this is clipboard integration (for example, copying something in vim running on the SSH server and pasting it in my client host browser).
I tried enabling it in
~/.ssh/config
usingForwardX11Trusted yes
, but the verbose logs show that this config line isn't supported.Thanks!
The text was updated successfully, but these errors were encountered: