I've got two VMs with arch linux and debian (running under virtual box). Not long ago, it started to take a lot of time connecting to arch VM over ssh. The first time after a while, successive attempts happen quickly. Here's what I see in the arch VM:
debug1: userauth-request for user yuri service ssh-connection method none
debug1: attempt 0 failures 0
debug3: Trying to reverse map address 10.0.2.2.
# ^^^ spends a lot of time after this line
debug2: parse_server_config: config reprocess config len 314
debug2: input_userauth_request: setting up authctxt for yuri
debug1: PAM: initializing for "yuri"
debug1: PAM: setting PAM_RHOST to "10.0.2.2"
debug1: PAM: setting PAM_TTY to "ssh"
debug2: input_userauth_request: try method none
Failed none for yuri from 10.0.2.2 port 35786 ssh2
10.0.2.2 is the default gateway for the VMs. What does this all mean?
P.S. Here's a good answer, thanks to which I was able to make some progress in researching the issue.
DNSserver installed on the host machine. Also, both VMs hadUseDNS = yes, but it took too long to connect to onlyarch linuxVM. Could you explain whatUseDNSreally means? I didn't get it from themanpage. Preferably on the example of my setup. – x-yuri May 28 '14 at 11:46