-
Notifications
You must be signed in to change notification settings - Fork 89
/
sshd_config
28 lines (19 loc) · 900 Bytes
/
sshd_config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# /etc/ssh/sshd_config
# The parameters in this file will be added/updated to the sshd_config file.
# Allow SSH agent forwarding
AllowAgentForwarding yes
# Allow TCP forwarding (needed for tunneling)
AllowTcpForwarding yes
# Maximum number of client alive messages which may be sent without receiving any messages back from the client
ClientAliveCountMax 100
# Sets a timeout interval in seconds (3000 secs = 50 minutes) after which if no data has been received from the client,
# sshd will send a message through the encrypted channel to request a response from the client
ClientAliveInterval 3000
# Allow remote hosts to connect to local forwarded ports
GatewayPorts yes
# Allow tun device forwarding for VPN tunneling
PermitTunnel yes
# Send keepalive messages to maintain session
TCPKeepAlive yes
# Enable X11 graphical interface forwarding
X11Forwarding yes