Add solution to fix slow ssh and telnet.

PR:		docs/88686
Approved by:	trhodes (mentor)
This commit is contained in:
Jesus R. Camou 2005-11-09 06:16:08 +00:00
parent 1a115bf288
commit 731d363235
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=26293

View file

@ -3719,7 +3719,19 @@ chip1@pci0:31:5: class=0x040100 card=0x00931028 chip=0x24158086 rev=0x02
correctly. To check, try to look up another host--say,
<hostid>www.yahoo.com</hostid>. If it does not work, that is
your problem.</para>
</answer>
<para>Following a fresh install of &os;, it is also possible
that domain and nameserver information is missing from
<filename>/etc/resolv.conf</filename>. This will often cause
a delay in <application>SSH</application>, as the option
<quote>UseDNS</quote> is set to <quote>yes</quote> by default
in the <filename>sshd_config</filename> file in
<filename>/etc/ssh</filename>. If this is causing the
problem, you will either need to fill in the missing information
in <filename>/etc/resolv.conf</filename> or set <quote>UseDNS</quote>
to <quote>no</quote> in <filename>sshd_config</filename>
as a temporary workaround.</para>
</answer>
</qandaentry>
<qandaentry>