ubuntu 16 เจอปัญหาSecure Shell Client ขึ้น error ว่า server responded Algorithm negotiation failed

หาก ใช้โปรแกรม Secure Shell Client  ขึ้น error ว่า server responded Algorithm negotiation failed กับ ubuntu 16 (หรืออืนๆไม่แน่ใจ)

ให้แก้ปัญหาดังนี้

ไปที่ไฟล์

vi /etc/ssh/sshd_config

จากนั้นหาเราใช้ root login ต้องเช็ต config ให้แน่ใจก่อนว่า ตั้งค่าให้ root login แล้ว

# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10

จากนั้นให้เพิ่ม ข้อตามตามนี้ไป บรรทัดสุดท้าย
# Ciphers
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,arcfour
KexAlgorithms diffie-hellman-group1-sha1

จากนั้น restart service
service sshd restart

แล้วทดสอบดูอีกทีครับ
https://www.ehowstuff.com/how-to-enable-ssh-root-login-on-ubuntu-16-04/

ใส่ความเห็น

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