Size: 691
Comment:
|
Size: 695
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
#acl All: | #acl All:read |
Contents
Config files
This is an example of a personal configfile in your .ssh/config.
Host server hostname 1.2.3.4 user username port 2222 LocalForward 8443 localhost:443
Restricted shell
This example shows us a ssh server where you can login, but have no rights at all to do anything, except restricted portforwarding. AllowTcpForwarding has to be enabled for the use of PermitOpen.
Match User testuser AllowTcpForwarding yes X11Forwarding no PermitTunnel no GatewayPorts no AllowAgentForwarding no PermitOpen localhost:80 ForceCommand read -p "Press enter to exit"