Comments (17)
Hey @MisterTea, any ideas on this one? I have to keep specifying the user name on the destination server even though we have already provided it in the ssh config. Thanks again
from eternalterminal.
from eternalterminal.
Just for my understanding, ET uses ssh for the initial ssh handshake (must be because my keyless authentication works...I assume even the username is being picked up by ssh from its own config).
After that initial connection if the ssh key is not required then the username should also not be?
from eternalterminal.
from eternalterminal.
@MisterTea, any luck with this change? Its not that hard to type the username but painful. Also FYI, the etserver hangs fairly often and then has to be manually killed before connecting again? Can help debug this if you need any traces.
from eternalterminal.
@eskhool Make sure you are on 3.0.5. I have made a bunch of fixes to prevent the hanging you describe.
The past couple of weeks I was making a bunch of stability improvements, but I'll take a look this week.
from eternalterminal.
I am on the latest version released to homebrew and the PPA which appears to be 3.0.0 Is 3.0.5 to be installed from github direct?
from eternalterminal.
@eskhool homebrew is on 3.0.0 so I need to update that, but most people are only using osx as a client so I haven't made it a priority.
You definitely want the server to be running 3.0.5, so the PPA is on 3.0.5
from eternalterminal.
@MisterTea, I think this thread got hijacked (by me for the hanging issue). Did you get a change to look at the username being optional issue? Thx
from eternalterminal.
Hey @eskhool , actually when I thought about it: it doesn't save anything by removing the username option. You still need to pass the username to the launcher, which just passes it on to etclient. I could remove that second step but it will have no impact on the end-user because the username is still needed by the launcher for the initial connection.
from eternalterminal.
Actually I looked at the launcher and it seems to be using the username ($USER or $ETUSER) only to pass it to ssh to make the initial connection. Now a regular ssh client will parse its own ssh_config and get the username from there so it doesn't really need the username. Did I miss something
from eternalterminal.
Hey @MisterTea, I was able to get it working by just modifying the launcher. It looks like no more work needs to be done (atleast in the server or client code). It seems that if you just remove the user logic from et launcher and let the ssh client handle the picking of the username the connection works just fine.
PS: I haven't tried the multi user connection but don't see why that won't work based on the minor change I had to do in the et launcher.
All you need to do is the not force the present user as default in the bash launcher script (right at the top) and let the ssh client handle that for you. Sounds good?
from eternalterminal.
from eternalterminal.
from eternalterminal.
So do we still need to read from the ssh config file? I feel like we do for people using hostname aliases, etc..
from eternalterminal.
Ideally we should let ssh do its own reading from the config file and pass any parameters sent to et onwards verbatim.
We should parse the et command line parameters only for the ones et supports and pass the rest as is
from eternalterminal.
For my purposes this bug is closed for the moment
from eternalterminal.
Related Issues (20)
- Building et on AL2 HOT 11
- "Error handling new client: Failed a call to readAll" HOT 4
- Starting multiple sessions for the same host in parallel leads to crash HOT 3
- Why does 6.2.8 install header and cmake files? HOT 6
- `--ssh-option=ControlPath=...` does not create any filesystem objects
- `et -t` does not accept IP address HOT 3
- APT-KEY is deprecated, update instructions for install HOT 3
- Segfault starting etserver on raspberry pi zero HOT 3
- package for pkgx HOT 1
- GCP IAP proxy HOT 3
- Ubuntu mantic et package (et_6.2.8-mantic1_amd64.deb) broken (bad dep on libtinfo5) HOT 9
- Need a good way to kill off ET sessions HOT 5
- A way to prevent sourcing the shell's configs twice HOT 1
- et needs ssh's -t option to support running tmux with et HOT 2
- Overrided CTRL+C -> CTRL+B not working
- DynamicForward -D option doesn't work HOT 1
- Can use SCP or SSHFS with EternalTerminal? HOT 5
- Please release a new version for the cpp-httplib CVE-2023-26130 fix HOT 1
- Flow Control HOT 5
- deb repositories no longer contain files for debian buster/bullseye HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eternalterminal.