sshd_match_entre.conf.sample (608B)
1 # Exemplo — modo shared-password (omissão do setup_entre.py) 2 # Validar: sudo sshd -t && sudo systemctl reload ssh 3 # 4 # Shell do utilizador «entre» em passwd: /bin/sh (não use nologin com ForceCommand). 5 6 Match User entre 7 AuthenticationMethods password 8 PasswordAuthentication yes 9 KbdInteractiveAuthentication no 10 PubkeyAuthentication no 11 PermitEmptyPasswords no 12 ForceCommand /usr/bin/python3 /opt/runv/terminal/entre_app.py 13 PermitTTY yes 14 PermitUserRC no 15 X11Forwarding no 16 AllowAgentForwarding no 17 AllowTcpForwarding no 18 PermitTunnel no 19 DisableForwarding yes