June 2017
Beginner
502 pages
11h 26m
English
Using OpenSSH, everything can be easily done with five configuration lines and a few commands; let's see how. We are on the remote server.
First, let's open the OpenSSH file, which is usually found in /etc/ssh/sshd_config and add these few lines:
Match group sftp-onlyChrootDirectory /opt/jails/%u/exchangeX11Forwarding noAllowTcpForwarding noForceCommand internal-sftp
We should already know what these directives are, but let's recall what we wrote in Chapter 12, Remote Connections over SSH, about remote connections over ssh:
Read now
Unlock full access