LPI
202-400 · Question #293
After having a laptop assigned to a new subnet, a user is no longer able to login to the SSH server with an error message like Connection closed by remote host. Which of the following are possible…
The correct answer is B. Verify that the settings in /etc/host.allow and /etc/host.deny are not preventing access. E. Check that there are no netfilter rules that reject SSH connections from the new IP. See the full explanation below for the reasoning.
Question
After having a laptop assigned to a new subnet, a user is no longer able to login to the SSH server with an error message like Connection closed by remote host. Which of the following are possible approaches to determine and fix the cause of this problem? (Choose TWO correct answers.)
Options
- AGenerate a new host key on the client and replace the current client host key on the SSH
- BVerify that the settings in /etc/host.allow and /etc/host.deny are not preventing access.
- CFlush the ARP table and the neighbor discovery cache on both the SSH server and the
- DAdd the new IP address of the client to the AllowHosts configuration setting on the SSH
- ECheck that there are no netfilter rules that reject SSH connections from the new IP
How the community answered
(68 responses)- A4% (3)
- B81% (55)
- C3% (2)
- D12% (8)
Community Discussion
No community discussion yet for this question.