Coder Social home page Coder Social logo

Comments (17)

eskhool avatar eskhool commented on May 23, 2024

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.

MisterTea avatar MisterTea commented on May 23, 2024

from eternalterminal.

eskhool avatar eskhool commented on May 23, 2024

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.

MisterTea avatar MisterTea commented on May 23, 2024

from eternalterminal.

eskhool avatar eskhool commented on May 23, 2024

@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.

MisterTea avatar MisterTea commented on May 23, 2024

@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.

eskhool avatar eskhool commented on May 23, 2024

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.

MisterTea avatar MisterTea commented on May 23, 2024

@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.

eskhool avatar eskhool commented on May 23, 2024

@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.

MisterTea avatar MisterTea commented on May 23, 2024

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.

eskhool avatar eskhool commented on May 23, 2024

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.

eskhool avatar eskhool commented on May 23, 2024

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.

MisterTea avatar MisterTea commented on May 23, 2024

from eternalterminal.

eskhool avatar eskhool commented on May 23, 2024

#44

from eternalterminal.

MisterTea avatar MisterTea commented on May 23, 2024

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.

eskhool avatar eskhool commented on May 23, 2024

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.

eskhool avatar eskhool commented on May 23, 2024

For my purposes this bug is closed for the moment

from eternalterminal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.