Skip to main content

Posts

Featured

ssh จาก Windows 10 หรือ Ubuntu เข้า CentOS 5 หรือ Linux เก่าๆไม่ได้ ทำยังไงดี

 จาก ความเดิมตอนที่แล้ว  ของคนที่แล้ว ( อย่าพึ่ง งง แต่ก็ งง ) มีคำถามเพิ่มมาอีกว่า "พอดีเจอปัญหา ssh เข้าเซิฟเวอร์ตัวเก่าไม่ได้" (CentOS 5.x) มันแจ้ง Error มาแบบนี้ Unable to negotiate with 192.168.1.1 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 วิธีแรก ที่ง่ายที่สุดคือไปใช้ Putty วิธีที่สอง ใช้  Cygwin วิธีที่สาม ไม่อยากติดตั้งอะไรเพิ่ม เพราะใช้ PowerShell อยู่แล้วเลยลองไปถามลุงกู๋ แล้วได้คำตอบมาเป็นเรียงความตามนี้ จากโพสนี้  linux - SSH: "no matching key exchange method found" when KexAlgorithm is listed as available - Server Fault เค้าให้ตามไปอ่าน  OpenSSH: Legacy Options   สร้างไฟล์ config ใน ssh หน้าตาประมาณนี้ Host 192.168.1.1 KexAlgorithms +diffie-hellman-group1-sha1 จากนั้นลอง ssh ใหม่อีกรอบ ท่านก็จะได้ Error อีกตัวประมาณนี้ Unable to negotiate with 192.168.1.1 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss แฮร่~~~ อะ...

Latest Posts

หาเรื่องให้ทำจริงๆ Docker PHP5.3 + Apache2.2 Old School สุดๆ

ดูหน้าจอในหน่วยงานด้วย python capture screen

AppServ 8.6 กับ php 5.2.x

แชร์เน็ตจากแอร์การ์ดสู่มือถือ

[FileZilla] มาสร้างตัวกรองไฟล์กันเถอะ

[iMacros] ตัวอย่างการสุ่มข้อความจาก CSV เอาไว้โพสอะไรสักอย่าง

[MySQL] เมื่อ DataBase ผมเป็นยำสามช่า(Charset เป็น latin1, tis620, utf8) เย้ยยยย

[บันทึก] Puphpet Ubuntu 14.04 update ไม่ได้ และ หา mongodb.so ไม่เจอ

[บันทึก, git] บน Windows สร้าง ssh key ยังไง

[บันทึก] Vagrant กับ PHP 5.3 หาไม่เจออ่ะ โน่ววววว