EternalTerminal icon indicating copy to clipboard operation
EternalTerminal copied to clipboard

feature request: pre-session setup

Open RichardScothern opened this issue 6 years ago • 3 comments

It would be very useful to be able to configure et to perform configurable pre-session setup. A number of reasons for this:

  • The et session establishment does not use an interactive SSH session, and therefore does not invoke /etc/profile{.d}
  • The ssh agent is not available during PAM session setup. There are use cases for the SSH agent to be used during session setup.

My proposal is to add an entry to the et configuration, specifying a directory e.g. /etc/et.d and for the et server to invoke scripts in that directory after authentication has succeeded.

RichardScothern avatar Jun 28 '19 02:06 RichardScothern

Hey @RichardScothern ! Actually et does use an interactive ssh session by passing the -l switch, so it should invoke those scripts.

Can you explain the second point more or give a reference?

MisterTea avatar Jul 29 '19 17:07 MisterTea

I do not see the -l flag in 6.0.4 (client or server)

RichardScothern avatar Nov 19 '19 00:11 RichardScothern

@RichardScothern sorry, I meant that when et sets up the connection (by using ssh), it uses an interactive ssh. So all the PAM scripts run when the connection is established.

MisterTea avatar Jan 25 '20 20:01 MisterTea