Comments (6)
No problem to implement it for example using '-x' switch:
tinysshd -x sftp=/usr/lib/openssh/sftp-server -x anothersubsystem=/somewhere/...
This will accept subsystem sftp and than run /usr/lib/openssh/sftp-server, and so on ...
from tinyssh.
That sounds like a great idea.
from tinyssh.
(But keep in mind that sftp-server does support cmdline args, e.g. -u for umask)
from tinyssh.
I think, it's no problem, command will looks like:
tinysshd -x 'sftp=/usr/lib/openssh/sftp-server -u 022 -d /somewhere'
from tinyssh.
Yeah, well openssh's sftp client screws up an equivalent cmdline arg: -D
https://github.com/openssh/openssh-portable/blob/master/sftp.c#L2415
IOW, this happens:
$ sftp -D '/usr/libexec/openssh/sftp-server -u 022'
exec: /usr/libexec/openssh/sftp-server -u 022: No such file or directory
That's why I mentioned it.
from tinyssh.
Support for subsystem added, You can try it.
from tinyssh.
Related Issues (20)
- Problems during runtime on Cygwin HOT 2
- sshfs, tinyssh HOT 7
- N/A HOT 1
- sntrup761 HOT 2
- FEATURE REQUEST: Display fingerprint on key creation HOT 3
- improve documentation ; provide howto HOT 1
- Honor openssh out max packet size
- aarch64 build HOT 4
- update to the new name crypto HOT 1
- ControlMaster triggers BUG: (protocol error){channel.c:57} HOT 5
- Client? HOT 4
- SCP does not work in latest version HOT 3
- Inconsistent behavior of getln() on error HOT 1
- Help needed to reach stable and ready-for-use-in-production-environment states?
- Does not link properly to libsodium
- ed25519-sk support? HOT 7
- #failed#
- Nice mixture of wrong, inconsistent and non-relevant information HOT 1
- Where to get GPG key to verify your signatures? HOT 2
- Systemd services don't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyssh.