It turns out that this bug is caused by #417757. Installing powerdns resolver was a sufficient workaround.
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/883201 Title: Several second hang on ssh login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/883201/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs