Resolve Password Prompt with Encrypted Home Directory

If you are experiencing this issue read on for the official solution from Ubuntu.

Encrypted Home Directory

If you have an encrypted home directory, SSH cannot access your authorized_keys file because it is inside your encrypted home directory and won’t be available until after you are authenticated. Therefore, SSH will default to password authentication.

To solve this, create a folder outside your home named /etc/ssh/<username> (replace “<username>” with your actual username). This directory should have 755 permissions and be owned by the user. Move the authorized_keys file into it. The authorized_keys file should have 644 permissions and be owned by the user. 

Then edit your /etc/ssh/sshd_config and add:

AuthorizedKeysFile    /etc/ssh/%u/authorized_keys

Finally, restart ssh with:

sudo service ssh restart

The next time you connect with SSH you should not have to enter your password.

Credits: https://help.ubuntu.com/community/SSH/OpenSSH/Keys#Troubleshooting

For a more in-depth discussion we recommend having a look at the following Unix StackExchange entry.

https://unix.stackexchange.com/questions/36540/why-am-i-still-getting-a-password-prompt-with-ssh-with-public-key-authentication

 

How to fix VMWare Fusion 10.x High Sierra USB Device not recognized

In order to resolve this issue the fastest way you should try these simple steps.

  • Shutdown all your guest VMs.
  • Shutown VMWare Fusion.
  • Open VMWare Fusion and check for updates. Install latest updates if there any available.
  • Ensure that you have installed VMWare tools in all the guest withc which you wish to use USB Device sharing.
  • Shutdown VMWare Fusion.
  • To to Applications and Move to Trash VMWare Fusion.app, Enter password to confirm.
  • Open Trash, select VMWare Fusion.app, right-click and select Put Back. Enter password to confirm.
  • Open System Preferences… and open Security & Privacy panel.
  • Open VMWare Fusion. Look in Security & Privacy General Tab and Allow the application to make changes using the Allow button. Enter your Password when prompted.
  • This may require your to reboot your MacOS in order to make the changes.

How to add CPU, Network, Memory monitors in MacOS topbar

If you want to monitor your system performance easily without having to take any extra real estate you can use this handy utility.

menumeter-topbar-example-allsupported.com.png
Menu Meters top bar customized display example for MacOS.

 

Menu Meters

Menu Meters is open source and provide a high degree of customization to display your system resource usage in the top bar of your MacOS.

Uninstall / Remove OSX Mail Plugins

Remove the Mail plugin System-wide

  1. Quit Mail
  2. Open Finder, press Command+Shift+G, go to the following path:
    /Library/Mail/Bundles/
  3. Select the plugin to remove, right-click and Move to Trash
  4. You can now open Mail and the plugin will be removed

 

Remove the Mail plugin for a single User

  1. Quit Mail
  2. Open Finder, press Command+Shift+G, go to the following path:
    ~/Library/Mail/Bundles/
  3. Select the plugin to remove, right-click and Move to Trash
  4. You can now open Mail and the plugin will be removed

 

Credits:

http://osxdaily.com/2014/02/05/uninstall-mail-app-plugin-mac-os-x/

Chrome Autocomplete Cleaner

Ever want to clear certain items from your Chrome autocomplete list? You’re at the right place, following this guide will help you do just that.

Download and install SQLlite Browser

https://github.com/sqlitebrowser/sqlitebrowser

Important: Before you make any changes you should backup the files in order to avoid accidentally corrupting or losing data.

Make sure that your Chrome browser is close continuing any further. Perhaps open this page on a Firefox browser while to be able to continue to follow these instructions.

On MacOSX open this file with the SQL Lite DB Browser

~/Library/Application Support/Google/Chrome/Default/Web Data

On Windows open this file with the SQL Lite DB Browser

Open C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Web Data

Go to the  Browse Data tab.

Choose the table autofill to view the records. You can remove records and save the changes.

There are other files in the /Default folder that can be managed with SQL Lite Browser.

 

Credits:

https://superuser.com/questions/565763/get-full-list-of-autocomplete-entries

https://superuser.com/questions/425671/can-i-remove-only-selected-history-and-form-autofill-data-from-chrome-on-mac-os

Overcommit Memory with VMWare Fusion v7, v8, v9, v10+

If you are using VMWare Fusion on your machine and want to have high memory allocation for your machines you will need to add a setting in the VMWare Fusion config file.

These settings are cannot be changed via the GUI.

To make this change you will want to do the following.

Open the config file

sudo nano /Library/Preferences/VMware\ Fusion/config

Add

prefvmx.minVmMemPct = %

Where % is the amount of system memory to allocate to VMWare Fusion.

Acceptable values, any percentage value. i.e.

  • 25
  • 50
  • 100

 

Credits:

https://www.virtuallyghetto.com/2015/02/quick-tip-how-to-enable-memory-overcommitment-in-vmware-fusion.html