Entries Categorized as 'Technology'

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 Mouse Scrolls the Command Line History Instead of the Window Buffer in Terminal

Author: , May 23rd, 2023

In the macOS Terminal, my mouse scroll wheel would magically start scrolling the command line history instead of the window buffer scroll bar on the right to show window history. This happened when an SSH session was disconnected or timed out. The fix is to run the reset command.

How To Enable SSH Login From OS X Yosemite 10.10.5 to macOS Ventura 13.3.1

Author: , May 19th, 2023

I was unable to login from my old iMac running Yosemite to my new iMac running Ventura using RSA keys. It turns out that RSA key support was disabled in Ventura. To correct the problem, I added the following two lines to the bottom of BOTH /etc/ssh/ssh_config and /etc/ssh/sshd_config on the Ventura side:

Be […]

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 Get rsync To Work With macOS Ventura – Getting Error “Operation not permitted”

Author: , May 5th, 2023

I have a new iMac running macOS Ventura 13.3.1. I tried to rsync some files from another host and got the following error:

In order to get rsync to have access to the hard drive in macOS Ventura, you need to add rsync and other programs to the Full Disk Access panel under Privacy […]

How To Expand an EBS Volume After a Disk Resize on Amazon Linux

Author: , April 17th, 2023

First, use the AWS Console to modify the volume to the desired size, in our example we want to go from 10GB to 25GB for the root filesystem For a Xen ext4 root volume

For NVMe First, use lsblk to see the raw partitions:

Note how the partition at 259:1 is only 20GB, […]

How To Fix WordPress Gateway Timeout Errors Running Apache with PHP-FPM

Author: , April 11th, 2023

PROBLEM: I was seeing the following error when trying to do a plugin update, and an error in my WordPress logs: Update failed: 504 Gateway Timeout Gateway Timeout The gateway did not receive a timely response from the upstream server or application. [Tue Apr 11 22:12:01.373709 2023] [proxy_fcgi:error] [pid 26878] (70007)The timeout specified has expired: […]

How To List All Tags With The Message In git

Author: , April 11th, 2023

How To Get SSH Logins Working Again In macOS Ventura

Author: , February 24th, 2023

SSH login from older hosts running OS X Yosemite 10.10.5 to macOS Ventura 13.2.1 was not working. SSH failed with a “No hostkey alg” error. To correct the problem, I added the following two lines to the bottom of BOTH /etc/ssh/ssh_config and /etc/ssh/sshd_config on the Ventura side:

Be sure to stop and start Remote […]

R.I.P. David Crosby

Author: , January 19th, 2023

David Crosby, Born 1941, Died Jan 18th, 2023 at 81 years old