-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
35 additions
and
82 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff --git a/files/sshd_config b/files/sshd_config | ||
index 1308c8b..3906e95 100644 | ||
--- a/files/sshd_config | ||
+++ b/files/sshd_config | ||
@@ -15,8 +15,12 @@ AllowTcpForwarding no | ||
|
||
# Force sftp and chroot jail | ||
Subsystem sftp internal-sftp | ||
-ForceCommand internal-sftp | ||
+ForceCommand internal-sftp -d /stash | ||
ChrootDirectory %h | ||
|
||
# Enable this for more logs | ||
#LogLevel VERBOSE | ||
+ | ||
+# For making the brother ADS-w700W printer SFTPable | ||
+HostKeyAlgorithms +ssh-rsa | ||
+PubkeyAcceptedAlgorithms +ssh-rsa |