Friday, 30 October 2020

ping command not working in CentOS

 I created one VM machine on virtualbox Centos 7 and added two network adapters Bridged Adapter and NAT.

When tried ping google:

ping google.com

ping: google.com: Name or service not know


Solution:

dhclient


 

Password prompt taking long time Linux Centos 7

 RHEL7:

Symptom: 34 seconds to prompt password ssh login
Solution (my case):
- vi /etc/ssh/sshd_config
- GSSAPIAuthentication no
- service sshd restart

vi /etc/ssh/sshd_config
UseDNS no

vi /etc/resolv.conf
options single-request-reopen ;in the last line. No network restart required

Number of Visitors