การเปลี่ยนแปลงการเข้าถึง git repository กรณี SSH หลังจากการอัพเกรด gitlab เมื่อวันที่ 17 พ.ย. 2564 นั้น มีการเปลี่ยน policy การเข้าถึง git repository อันหนึ่งคือการเข้าถึงด้วย git+ssh ซึ่งใช้การยืนยันตัวตนผ่าน ssh key นั้น จะใช้ได้เฉพาะกรณีที่ client อยู่ในเครือข่ายภายในของ สวทช. หรือ vpn เข้ามาก่อนเท่านั้น (เดิมจะใช้ได้จากทุกที่) ดังนั้นหากผู้ใช้ยังต้องการใช้ git+ssh เช่นเดิม แต่อยู่ภายนอก รบกวน vpn ก่อนนะครับ ทางเลือกอื่นคือใช้ access token กรณีต้องการ deploy code ไปบน server ซึ่งไม่สามารถ vpn ได้ แนะนำให้ใช้ "project access token" ซึ่งใช้งานได้คล้าย personal access token แต่แนะนำให้กำหนดสิทธิเป็นแบบ "read_repository" เท่านั้นก็พอ
GitLab is a single application for the entire software development lifecycle. From project planning and source code management to CI/CD, monitoring, and security.
This is a self-managed instance of GitLab.
Don't have an account yet? Register now