Hot answers tagged

2

Sshd doesn't care where the connection is coming from, if it's configured to do a reverse DNS lookup, it does.


2

Server log says sshd: /etc/ssh/sshd_config: No such file or directory This means the the server is unable to open the file for some reason. Check if the file exists and if it has appropriate permissions (including SELinux labels) ls -lZ /etc/ssh/sshd_config should give you enough information to figure this out (restorecon /etc/ssh/sshd_config should ...


1

You can set the option UseDNS no in the file /etc/ssh/sshd_config on your server to tell sshd(8) not to do DNS lookups.


1

If you can SSH to localhost, but you can't SSH from another machine, then either you changed the SSH configuration to forbid SSH from other machines, or there's a firewall that blocks incoming SSH connections. The firewall could be on the same machine, or on any hop between the client you're testing from and that server. If SSH works on the default port but ...



Only top voted, non community-wiki answers of a minimum length are eligible