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.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Try disabling DNS lookup in sshd config -
UseDNS no
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.
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 tryssh -vvv ADDRESS
to obtain more info. You can try-v
or-vv
or-vvv
, depending on how log info you want to see.