mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Fix missing port 22
Either this was overlooked or the sshd_config stopped including Port 22. Fix by putting in port 22. If port 22 already existed, sshd is fine with the configuration being configured twice.
This commit is contained in:
parent
92949f012f
commit
1c69700e1d
@ -21,6 +21,7 @@ fi
|
||||
mkdir -p /mnt/sysimage/var/log/confluent
|
||||
mv /tmp/confluent-pre.log /mnt/sysimage/var/log/confluent
|
||||
echo Port 2222 >> /etc/ssh/sshd_config.anaconda
|
||||
echo Port 22 >> /etc/ssh/sshd_config.anaconda
|
||||
echo Match LocalPort 22 >> /etc/ssh/sshd_config.anaconda
|
||||
echo " ChrootDirectory /mnt/sysimage" >> /etc/ssh/sshd_config.anaconda
|
||||
kill -HUP $(cat /run/sshd.pid)
|
||||
|
Loading…
Reference in New Issue
Block a user