-
Notifications
You must be signed in to change notification settings - Fork 59
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
Use ssh-copy-id for authentication #369
Comments
A different approach would be:
|
Is this implemented as an applet yet? |
No, this ticket is still open. :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LTSP5 used a master/control SSH socket for LOCAL_APPS_EXTRAMOUNTS and to run additional commands on the server.
In the new LTSP we opted not to use a control socket in order to avoid keeping an SSH connection to the server alive, at least when SSHFS isn't used. So LOCAL_APPS_EXTRAMOUNTS wasn't implemented, but some users need it, for example see #368.
A different approach would be for pamltsp to generate a temporary SSH key for each authenticating user, and use ssh-copy-id for the initial authentication. If that succeeds, then root on the client can run
sshfs user@server: /home/user
passwordlessly. This also means that LOCAL_APPS_EXTRAMOUNTS can be more easily implemented, and even SSHFS reconnections might work.I plan to implement this next year, along with making
pamltsp
an ltsp applet, so that it can directly read ltsp.conf parameters.Additionally, the actual mount command might be implemented as part of
ltsp session
instead ofpamltsp
, we'll see about that part.The text was updated successfully, but these errors were encountered: