Closed chq3272991 closed 1 year ago
@chq3272991, your configuration has PermitTunnel no
. This parameter has to be set to yes
.
This is mentioned in the docs.
@HectorB-2020 I try to change "PermitTunnel yes" , and other settings like this :
# To modify the system-wide ssh configuration, create a *.conf file under
# /etc/ssh/sshd_config.d/ which will be automatically included below
#Include /etc/ssh/sshd_config.d/*.conf
Protocol 2
LogLevel VERBOSE
PubkeyAuthentication yes
RSAAuthentication yes
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
PermitEmptyPasswords no
PermitUserEnvironment no
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com
ClientAliveCountMax 0
Banner /etc/issue.net
MACs hmac-sha2-512,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com
StrictModes yes
AllowTcpForwarding no
AllowAgentForwarding no
GatewayPorts no
PermitTunnel yes
KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
then, systemctl restart sshd but rke also up fail : Failed to set up SSH tunneling for host
final,I find the sshd_config must setting like this:
AllowTcpForwarding yes
AllowAgentForwarding yes
GatewayPorts yes
PermitTunnel yes
RKE version: v1.3.11
Docker version: 19.03.11
Operating system and kernel:
cat /etc/os-release
PRETTY_NAME="UnionTech OS Server 20" NAME="UnionTech OS Server 20" VERSION_ID="20" VERSION="20" ID="uos" PLATFORM_ID="platform:uel20" HOME_URL="https://www.chinauos.com/" BUG_REPORT_URL="https://bbs.chinauos.com/" VERSION_CODENAME="fuyu"
uname -r
4.19.90-2201.4.0.0135.up1.uel20.aarch64
Type/provider of hosts: cucloud
cluster.yml file:
Steps to Reproduce:
Results:
final,I see the config of sshd:
I comment it , and then redo , command : rke up -config cluster.yml . then , rke can up !
so , I want to know which sshd_config item make rke can not up