Ubuntu 16 ไม่สามารถ ssh ได้

จากปัญหานี้ Bug 1228013 – Server responded “Algorithm negotiation failed”

เหมือนต้อง เพิ่มที่

vi /etc/ssh/sshd_config

จากนั้นเพิ่ม
# Ciphers
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,arcfour
KexAlgorithms diffie-hellman-group1-sha1

เข้าไปที่ล่างสุด จากนัั้น
service ssh restart

หาก start ไม่ขึ้น ลองเช็ค คำสั่งที่เพิ่มไป ดีๆ เราอาจจะพิมพ์ผิด

จากนั้น จะให้ใส่ password ได้ เวลา ssh เข้าไป
แต่หาก ใส่ password root แล้วยังไม่ได้ให้ไปแก้ที่
vi /etc/ssh/sshd_config

จากนั้นไปที่
FROM:
PermitRootLogin prohibit-password
TO:
PermitRootLogin yes

จากนัั้น
service ssh restart

แล้วลอง ssh ดูอีกทีครับ

ใส่ความเห็น

อีเมลของคุณจะไม่แสดงให้คนอื่นเห็น ช่องที่ต้องการถูกทำเครื่องหมาย *