All posts tagged ssh

Sometimes happens that establishing of SSH (or other service) connection takes a really long time. This is often caused by failed reverse DNS lookups.

That situation can occur because of network problems or can be intentional action performed by system administrator.

How can you handle with it? Simply add this line to your sshd_config file.

UseDNS no

Now SSH connection should be established significantly faster.

There are known issue regarding AFP on FreeNAS. Sometimes AFP can’t start properly and it continuously restarts. You can see it in the log and web GUI console. How to deal with it? Simply log in using SSH to your FreeNAS machine and type the following command:

$ sudo pkill afp

If this is not effective try:

$ sudo pkill -9 afp

That commands kills all processes with string “afp” in process name. Now try turn on the service using FreeNAS GUI.