Sending disconnect message feature is missing
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.8k
- Forks
- 734
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm writing an SSH Server which works similar to OpenSSH Server. I wanted to send disconnect event to client when it writes wrong password too many times. I find out that I can send custom disconnect event with client._sshstream.disconnect(<reason>), but I've not found any built in function that I can send disconnect message with it. Is that feature missing or I've just not found it?
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 the client._sshstream.disconnect() entry point mentioned in the issue and inspect the SSH server-side disconnect handling. Determine whether a built-in function is intended for this use or whether a new API is needed. Done means the supported behavior for sending a disconnect message is defined and verified for repeated wrong-password attempts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend, networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100