Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A network protocol that allows data to be exchanged using a secure channel between two networked devices
2
votes
1
answer
2k
views
Restrict sftp user to a single directory in El Capitan
Is it even possible at all to restrict ssh user to a single directory in 10.11? I have set up an user account via System Preferences Users & Groups. … Followed some instruction to modify ssh/sshd_config to include:
Match User ftpuser
ChrootDirectory <the directory path>
PermitTunnel no
AllowAgentForwarding no
AllowTcpForwarding no
X11Forwarding …
3
votes
1
answer
839
views
Restricting remote user to a single directory in 10.11
So I guess both SSH and SFTP are not the solution.
What other approach can I take to do this task?
PS: After further reading, I think /bin/bash -r might be the way forward. … Not sure if I can set up ssh to load /sh/bash -r by default.
PS: Tried to specify /bin/bash -r in Login Shell field within the user's Advanced Options in Users & Groups. …