Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


connecting to Vultr via ssh takes too long
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

connecting to Vultr via ssh takes too long

Have anyone experienced a long time that it takes to connect to vultr? How to fix it?

Comments

  • DPDP Administrator, The Domain Guy

    Try disabling DNS lookup in sshd config - UseDNS no

    Thanked by 2raindog308 lentro
  • To add a bit more to @thedb's excellent suggestion: openssh client, by default, does a reverse DNS lookup before connecting. When the DNS servers assigned to answer those PTR records are not responding, the client waits for multiple timeouts (upwords one minute or more) before continuing without the PTR info.

  • Just tried connecting to a vultr Japan instance. Connected within 1-2 seconds.

    Check your routes when connecting to the server also. It might help explain why you're getting bad connection times.

  • There's also such a thing as looking at logs.

    Thanked by 1angstrom
  • @nomitaku said:
    Have anyone experienced a long time that it takes to connect to vultr? How to fix it?

    There's not much point in starting such a thread without providing more info.

    If it's really ssh that is the problem, you can also try ssh -vvv ADDRESS to obtain more info. You can try -v or -vv or -vvv, depending on how log info you want to see.

Sign In or Register to comment.