ssh brakes

Get rid of the brake when working on ssh:

nano /etc/ssh/sshd_config:
UseDNS no
GSSAPIAuthentication no
GSSAPIKeyExchange no
Compression no

nano /etc/hosts:
127.0.0.1 localhost local.kss45.ru local
127.0.1.1 local.kss45.ru local // add own host ip without Loopback address
ip your_computer_name

nano /etc/resolv.conf:
domain domain.ru // here domain — UTB keyword, such as domain ya.ru, and not ya.ru
search domain.ru //address to which to search for local third-level domains.
nameserver ns1 // dns — server, or enter the ip or in / etc / hosts to register ip — name.
nameserver ns2
nameserver 8.8.8.8

nano /etc/nsswitch.conf:

seek bar:

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

bring it to mind:

hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4