avatar-avatar
0code小二

用root 係無法SSH 入去一個CT ,咁好自然地去修改sshd_config ,但其實點改都無用,reboot係唔會loan 果個file,又Google 下,搵左堆文,最後呢個可以解決:

https://www.imval.tech/index.php/blog/proxmox-lxc-ssh-port-change-issue

四行指令:
systemctl mask ssh.socket
systemctl mask sshd.socket

systemctl disable sshd
systemctl enable ssh



馬克的生活隨手記-avatar-img
馬克的生活隨手記和其他 1 人喜歡這篇
avatar-img
加入討論