Month: October 2023

Fixing SSH “no hostkey alg” on Debian/Ubuntu

สำหรับท่านที่ ssh ไปยัง debian/ubuntu server ปลายทางแล้วได้ message “no hostkey alg” สาเหตุเกิดจากว่า ssh client พยายาม connect ไปแต่ไม่ผ่านขั้นตอนการเชค hostkey algorithm ขั้นตอนการแก้ไข ให้เชค permission ของไฟล์ที่ขึ้นต้นด้วย ssh_host_ ใน folder /etc/ssh ด้วยคำสั่ง ls -l /etc/ssh/ssh_host_*…

How to enable TCP port 2375 for external connection on Rancher-Desktop

สำหรับท่านที่ใช้ Racher-Desktop และต้องการให้ docker engine รับ tcp connection ควบคู่ไปกับการใช้ docker.sock ก็สามารถทำได้ด้วยคำสั่งด้านล่างนี้ docker container run -dt --name expose-docker-on-2375 --network=host -v /var/run/docker.sock:/var/run/docker.sock --restart=always rancher/socat-docker