Re: OT: how to make a ssh/showmount usable with no internet
- In reply to: Aryeh Friedman : "OT: how to make a ssh/showmount usable with no internet"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Jul 2023 00:43:29 UTC
On 7/14/2023 8:28 AM, Aryeh Friedman wrote: > Due to some t-storms my internet is up and down like nuts today but > the upshot is it seems that even local ssh requires a reverse DNS > lookup and thus has a very long hang before connecting. How can I > prevent this behaviour > > Additional question: what additional steps do I need to make the > system completely separable from the internet (I already ran into > reverse DNS issues with showmount). (I use NFS but not NIS for most > stuff) Regarding reverse DNS lookup causing long client connect times: On the SSH server edit /etc/ssh/sshd_config uncomment and modify the following directive UseDNS no restart the sshd service. sshd_config(5) UseDNS Specifies whether sshd(8) should look up the remote host name, and to check that the resolved host name for the remote IP address maps back to the very same IP address. The default is “yes”