본문 바로가기

Work/Linux(6.x)_centos

centos6 ssh 접속시 느릴때


1. /etc/ssh/sshd_config 파일에

   UseDNS no

   추가후

   sshd 서비스 재시작

   service sshd restart 


2. /etc/hosts 파일에

   자기 자신의 ip     자기 자신의 호스트네임    

   [root@centos6 ~]# cat /etc/hosts

   127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

   ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

   192.168.233.128 centos6

'Work > Linux(6.x)_centos' 카테고리의 다른 글

centos6 사용중인 포트 확인  (0) 2015.07.23
centos6 hostname 변경  (0) 2015.07.23
centos 일회성 작업 예약 at 명령어  (0) 2015.07.22
centos,Redhat storage Fc 카드 관련  (0) 2015.05.21
centos root password 복구  (0) 2015.04.15