mscdex / mscdex/ssh2

Feature Request: Allow setting custom subsystem with sftp

Open
#1,291 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
JavaScript
Stars
5.8k
Forks
734
PR merge metrics
No merged PRs in 30d

Description

On Linux systems, the SFTP client sftp has the -s option which enables certain features on the remote system.
Most notably, running sftp-server with sudo.

I'm not seeing a way to do that here. Would is be possible to add this feature?

Buried in the docs here, I see what looks like it could be some partial support for this, but maybe that is part of the Server documentation.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with SFTP.md, especially the SFTP methods section, and compare its existing support with the OpenSSH sftp -s option described in the issue. Determine how a client should configure a custom remote subsystem, then verify that the finished feature lets callers use an equivalent subsystem command, including the sudo sftp-server case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.