How To Fix the “no hostkey alg” SSH Error Message on Older MacOSX

Author: , April 9th, 2025

The included, MacOSX-native ssh binary does not support newer SHA2 keys, so it gets the dreaded “no hostkey alg” or “kex_exchange_identification: read: Connection reset by peer” errors. To troubleshoot, check the sshd logs:

To fix that, install ssh via homebrew or macports and use that binary instead:

How To Fix perl: symbol lookup error: undefined symbol: Perl_xs_handshake

Author: , November 9th, 2023

This was caused by having the PERL5LIB environment variable set.

How To Fix Error “Wrong Fs Type, Bad Option, Bad Superblock” When Mounting a Filesystem

Author: , June 23rd, 2023

When trying to mount can XFS filestsen on an AWS instance, I got the error “mount: wrong fs type, bad option, bad superblock on /dev/sdh” Examine the volume’s UUID with the xfs_db command: shell> sudo xfs_db -c uuid /dev/nvme2n1 To fix the problem, you have two options… Temporary Solution Add nouuid mount option to temporarily […]

How To Fix Error “Cannot open access to console, the root account is locked”

Author: , June 23rd, 2023

When trying to access the serial console on AWS, I got the following error: Cannot open access to console, the root account is locked Since I had edited /etc/fstab, the host would not boot. The only way to fix this problem is to unmount the root volume from the affected instance, mount it on another […]

How To Fix SSH Permission Denied From macOS Ventura To Amazon Linux

Author: , May 9th, 2023

I have been using RSA SSH keys forever to login to my various AWS EC2 instances. With macOS Ventura 13.3.1 ssh failed with the “Permission Denied” error. Using ssh -vvv, I saw that the RSA key was now being rejected. After much research, I decided to implement new keys on the client (Ventura) side using […]

How To Fix “iCloud Account Could Not Be Removed” Error on OS X Yosemite 10.10.5

Author: , November 24th, 2022

PROBLEM: Unable to sign out of iCloud on OSX Yosemite or disable Keychain SOLUTION: Delete the following, then reboot:

How To Fix WPDataTables Error “You are trying to load a table of an unknown type” in WordPress

Author: , September 7th, 2022

If you get the following error in WordPress when using the WPDataTables plugin, follow these steps to fix it: “You are trying to load a table of an unknown type. Probably you did not activate the addon which is required to use this table type.” SOLUTION SUMMARY: You must update the plugin files manually, deactivate […]

How To Solve Grafana Error “failed to load its application files”

Author: , February 23rd, 2022

Try a newer browser before anything else! I was using an older version of Safari on Mac and got this:

I switched to the latest version of FireFox and was fine.

How To Force Postfix To Use Only IPv4

Author: , August 12th, 2021

vi /etc/postfix/main.cf

service postfix restart

How To Fix aws Command Error “You must specify a region”

Author: , July 29th, 2021

I was getting error “You must specify a region” when running any aws CLI command. The fix: Using the aws command:

which will automatically add the following to the file ~/.aws/config:

You many simply edit the ~/.aws/config file yourself and append the same thing: