Last active
December 27, 2015 14:29
-
-
Save claudep/7340719 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| /etc/ssh/sshd_config: | |
| file.replace: | |
| - pattern: Subsystem sftp /usr/lib/openssh/sftp-server | |
| - repl: | | |
| Subsystem sftp internal-sftp | |
| Match Group sftponly | |
| ChrootDirectory /home/sftpusers/%u | |
| X11Forwarding no | |
| AllowTcpForwarding no | |
| ForceCommand internal-sftp | |
| - show_changes: True | |
| - watch_in: | |
| - service: ssh | |
| ScannerError: while scanning a simple key | |
| in "<unicode string>", line 8, column 7: | |
| Subsystem sftp internal-sftp | |
| ^ | |
| could not found expected ':' | |
| in "<unicode string>", line 9, column 7: | |
| Match Group sftponly | |
| ^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment