Skip to content
  • HOME
  • Windows
  • Linux
  • VMware
  • DirectAdmin
  • VestaCP
  • WordPress
  • Utility
  • Security

1412

CentOS ล็อคอินเข้า SSH แล้ว Server ตอบกลับช้า [วิธีแก้]

Posted on 31 กรกฎาคม 2016 by 1412
0 Shares
Tweet
Share
Share
Pin

ปัญหานี้เจอโดยไม่ตั้งใจ เวลาที่เรา Login SSH เข้าไปที่เซิฟเวอร์ แล้วมันนานมากๆ เหมือนเซิฟเวอร์มันช้ายังไงก็ไม่รู้ จึงได้ลองหาวิธีแก้ไข พบวิธีแก้ไขดังต่อไปนี้

  1. เปิดไฟล์ /etc/ssh/sshd_config ด้วยโปรแกรม Editor เช่น vi, nano
  2. หาคำว่า #useDNS yes
  3. แก้ไขเป็น useDNS no
  4. ทำการ Restart SSH ด้วยคำสั่ง service sshd restart จากนั้นลองทดสอบล็อคอินเข้า SSH อีกครั้ง
1412

Blog ส่วนตัว ที่จะแชร์เรื่องร่าวต่างๆที่พบเจอมา จากประสบการณ์จริง เพื่อเป็นประโยชน์ต่อสังคมและผู้ที่กำลังศึกษาหาความรู้เรื่องต่างๆ ไม่ว่าจะเป็น Server, Network, Security, ทำเว็บไซต์, เขียนโปรแกรม, ฯลฯ ขอบคุณทุกๆการติดตามครับ 😉

★ บริการ Cloud Server ★

0 Shares
Tweet
Share
Share
Pin

Related posts:

Default Thumbnailวิธีแก้ LOADING Redis is loading the dataset in memory
Posted in Linux Tagged CentOS Login SSH Slow, CentOS SSH Show
Previous
Next

ป้ายกำกับ

Apache CentOS CentOS 7 CloudFlare Cloudflare DNSSEC Cloudflare LiteSpeed Enterprise for Wordpress Cloudflare Wordpress Caching Cloud Wordpress Hosting DirectAdmin DirectAdmin Spam Email DNSSEC คืออะไร DNS Server FastCGI Google DNSSEC Inodes คืออะไร Let's Encrypt LiteSpeed Enterprise Nginx Opcache OpenLiteSpeed OpenLiteSpeed HTTP3 OpenLiteSpeed QUIC OpenVPN Pi-hole Pi-hole ตั้งค่า Blacklist SSL SSL ฟรี Update Pi-hole VestaCP VMware VMware Esxi VMware vCenter Server VMware vSphere Client VPN คืออะไร vSAN Wordpress Wordpress Attack XMLRPC Wordpress Brute Force Attack Wordpress Caching Wordpress Hosting Wordpress ป้องกัน DDoS Attack XMLRPC Wordpress โดน Hack Wordpress โดนยิง XMLRPC Wordpress โหลดช้า วิธีการติดตั้ง VPN

เรื่องล่าสุด

  • Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist
  • General error: 1709 Index column size too large. The maximum column size is 767 bytes
  • DirectAdmin กำหนดเวอร์ชั่นของ Nginx เอง
  • DirectAdmin เด้งหลุด Login as User
  • ESXi Update ไม่ได้ ขึ้นข้อความ “No space left on device”
  • CentOS ลบ /home เอาพื้นที่มาใส่ /root
  • VMware Workstation สร้าง Snapshot แล้วช้า ขึ้นสถานะ Save state
  • DirectAdmin ติดตั้ง Rspamd กรอง Spam Email
  • Update ConfigServer Security & Firewall (csf)
  • CentOS ลบ NetworkManager เปลี่ยนไปใช้ network
All rights reserved © 1412