-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Allow running multiple SSH daemons #83
Conversation
Hi @SteffenDE! Thanks for writing about this feature. I haven't looked through your changes yet, but let me give you some quick feedback since I'm not sure when I'll get back to you on details.
In any case, I want to be supportive of this direction even if I don't have time this week to really put a lot of thought into it. @jjcarstens - do you have other feelings or concerns? |
Yes, I think that supporting Unix shells in nerves_ssh would be very cool and I'd be very happy to work on this being available by default. For this pull request, I think the focus should still be making running multiple daemons possible first, as this is the basis for supporting other shells running next to IEx when not using subsystems (that have some limitations as documented in the I think it probably makes sense to continue the discussion around unix shell support, so I've opened #84 for that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple comments, but otherwise seems good to me
So, I just added one test for actually starting two daemons and found an issue with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Hello there,
while creating nerves_ssh_shell to connect to regular shells on nerves devices, I found the need to start multiple ssh daemons (as ssh subsystems do not allow the same set of features than running a separate daemon). As I also did not want to reimplement what nerves_ssh is already doing very well, I thought that adding the possibility to run multiple daemons seems like something that might benefit others too.
This is not complete yet, for example I only changed the tests to pass for now and did not add new tests for starting multiple daemons, as I first of all wanted some feedback what you all think about this. I also added a configuration option for the used
ssh_cli
setting, but this might not be needed as there is already thedaemon_option_overrides
.