# useradd tunnel -m -d /home/tunnel -s /bin/true
$ usermod -p '*' tunnel
# port number for ssh access.Port 8022# port for remote boxPort 12345# The server disconnects after this time if the user has not # successfully logged in. Default is 120sLoginGraceTime 30sRSAAuthentication yesPubkeyAuthentication yesAllowTcpForwarding yes # to allow remote hosts to connect to local forwarded ports.GatewayPorts yes # Specifies whether ssh(1) should terminate the connection if it cannot set up the port forwarding connection. ExitOnForwardFailure yes# Specifies whether tun network device forwarding is allowed. Not used for MyBox. PermitTunnel no # Set passwordless logon after confirming key-pair authentication is confirmed to be workingPasswordAuthentication no# Set the time for a dead connection to terminate for 4 x 45s = 180s = 3minClientAliveCountMax 4ClientAliveInterval 45