mobile-shell / mobile-shell/mosh
Custom per-server default commands
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 14.5k
- Forks
- 865
- PR merge metrics
- No merged PRs in 30d
Description
Currently mosh-server starts a login shell if a command is not passed to mosh.
I would like to be able to specify a custom command (on the server side) that is used instead in this case. E.g. by specifying it in /etc/defaults/mosh-server or /etc/mosh/config.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how mosh-server handles a connection when mosh passes no command. Review the proposed configuration locations, /etc/defaults/mosh-server and /etc/mosh/config, and determine how a server-side default command should be selected. Done means a configured command replaces the login shell only when no client command is supplied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100