mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-27 05:28:22 +00:00
Specify SSH server config for RKE
This commit is contained in:
@@ -23,6 +23,7 @@ aliases:
|
|||||||
|
|
||||||
- [Opening port TCP/6443 using `iptables`](#opening-port-tcp-6443-using-iptables)
|
- [Opening port TCP/6443 using `iptables`](#opening-port-tcp-6443-using-iptables)
|
||||||
- [Opening port TCP/6443 using `firewalld`](#opening-port-tcp-6443-using-firewalld)
|
- [Opening port TCP/6443 using `firewalld`](#opening-port-tcp-6443-using-firewalld)
|
||||||
|
- [SSH Server Configuration](#ssh-server-configuration)
|
||||||
|
|
||||||
<!-- /TOC -->
|
<!-- /TOC -->
|
||||||
|
|
||||||
@@ -208,3 +209,11 @@ firewall-cmd --permanent --zone=public --add-rich-rule='
|
|||||||
port protocol="tcp" port="6443" accept'
|
port protocol="tcp" port="6443" accept'
|
||||||
firewall-cmd --reload
|
firewall-cmd --reload
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## SSH Server Configuration
|
||||||
|
|
||||||
|
Your SSH server system-wide configuration file, located at `/etc/ssh/sshd_config`, must include this line that allows TCP forwarding:
|
||||||
|
|
||||||
|
```
|
||||||
|
AllowTcpForwarding yes
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user