Author:
erics, 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.
Categories: How-To's, Technology Tags: apple, bash, cli, Command line, Disconnect, History, howto, MacOS, Mouse, Scroll, Shell, ssh, Terminal, Timeout, tips
|
No comments
Author:
erics, 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 /etc/ssh/sshd_config:
|
HostkeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa |
Categories: How-To's, Technology Tags: denied, HostKeyAlgorithms, howto, key, login, MacOS, OSX, Permission, Pubkey, PubkeyAcceptedAlgorithms, PublicKey, RSA, ssh, sshd, tips, Ventura, Yosemite
|
No comments
Author:
erics, 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 […]
Categories: How-To's, Technology Tags: AWS, denied, ed25519, Error, Generate, howto, key, Linux, MacOS, Permission Denied, public, Public Key, ssh, ssh-keygen, sshd, tips, Ventura
|
No comments
Author:
erics, 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:
|
rsync -av --progress --exclude=Recordings/ neptune:/Users/erics/Documents/ /var/root/tmp/Documents/ receiving file list ... rsync: opendir "/Users/erics/Documents/." failed: Operation not permitted (1) |
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 […]
Categories: How-To's, Technology Tags: apple, howto, Mac, MacOS, Privacy, rysnc, security, ssh, sshd, tips, Ventura
|
No comments
Author:
erics, 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.
|
vi /etc/ssh/sshd_config HostKeyAlgorithms +ssh-rsa,ssh-dss PubkeyAcceptedKeyTypes +ssh-rsa,ssh-dss |
Be sure to stop and start Remote Login under System Settings -> General -> Sharing
Categories: How-To's, Technology Tags: dss, HostKeyAlgorithms, howto, MacOS, PubkeyAcceptedKeyTypes, RSA, ssh, ssh-dss, ssh-rsa, sshd, sshd_config, tips, Ventura, Yosemite
|
No comments
Author:
erics, March 17th, 2022
When I sent email from my desktop Mac cron jobs, it went out with the full hostname as the domain, i.e.: root@demo.wyzaerd.com, when all I wanted was a simple root@wyzaerd.com for ease of deliverability and domain maint. Edit the mail configuration file main.cf:
Add/edit the myorigin value of $mydomain:
Categories: How-To's, Technology Tags: Change, Domain, Email, Hostname, MacOS, mail, main.cf, Masquerade, mydomain, myorigin, PostFix
|
No comments
Author:
erics, December 2nd, 2021
Use AutoRaise! From the docs: “When you hover a window it will be raised to the front (with a delay of your choosing) and gets the focus.” Web page: https://github.com/sbmpost/AutoRaise Download: https://github.com/sbmpost/AutoRaise/archive/refs/heads/master.zip
|
unzip -d ~ ~/Downloads/AutoRaise-master.zip cd ~/AutoRaise-master && make clean && make make install |
My ~/.AutoRaise file:
|
#AutoRaise config file delay=3 |
Categories: How-To's, Technology Tags: apple, AutoRaise, Delay, Focus, Focus Follows Mouse, Follow, Hover, howto, Mac, MacOS, macosx, Mouse, Raise, tips, window
|
1 comment
Author:
erics, November 2nd, 2021
I needed a way to get the dock icon to bounce for all incoming emails and there did not seem to be any option to do so. There is actually a simple way to do it, but it is not intuitive. The key is to add a new Rule! Open Mail.app and choose Mail -> […]
Categories: How-To's, Technology Tags: Add rule, apple, Bounce, Bounce dock icon, Bounce icon, Dock, Email, Email rule, Force, howto, Icon, Incoming, Incoming mail, Mac, MacOS, macosx, mail, Mail rule, Mail.app, new email, New mail, Rule, Rules, tips
|
No comments
Author:
erics, April 23rd, 2021
Ever get the spinning beachball when trying to access the top menu on your Mac? SOLUTIONS Use the GUI Open the Activity Monitor application Select All Processes from the View menu Click on the SystemUIServer process, then click Force Quit. ~or~ Via CLI In Terminal, execute killall SystemUIServer
Categories: How-To's, Technology Tags: Activity Monitor, All Processes, apple, BeachBall, Force, Force Quit, Hang, Hung, Kill, killall, killall SystemUIServer, Mac, MacOS, macosx, Menu, Quit, Restart, Shell, Spiining beachball, Stop, SystemUIServer, Terminal, Top Menu
|
No comments
Author:
erics, February 26th, 2021
On MacOSX 10.10.5 Yosemite, I was having trouble with Spotlight preventing the clean eject of an attached hard drive. Using the fuser command allowed me to see that it what the Spotlight-specific mds process preventing the eject.
|
fuser -u /Volumes/Archive03 |
At first, I tried to disable the indexing via the mdutil command, but that just gave me […]
Categories: How-To's, Technology Tags: 10.10.5, apple, Disable, diskutil, eject, Halt, howto, Index, Indexing, Mac, MacOS, macosx, mdutil, metadata_never_index, Prevent, Spotlight, Stop, tips, Touch, umountDisk, Yosemite
|
1 comment